uproot.STLVector — Uproot documentation

# uproot.STLVector

Defined in uproot.containers on line 1360.

Inheritance order:
uproot.containers.Container `collections.abc.Sequence` `collections.abc.Reversible` `collections.abc.Collection` `collections.abc.Sized` `collections.abc.Iterable` `collections.abc.Container`

class uproot.containers.STLVector(values)
  Parameters:

    values (`numpy.ndarray` or iterable) – Contents of the `std::vector`.

  Representation of a C++ `std::vector` as a Python `Sequence`.

## tolist

Inherited from uproot.containers.Container.

STLVector.tolist()

  Convert the data this collection contains into nested lists, sets, and dicts.