uproot.containers.ROOTRVec

Defined in uproot.containers on line 1493.

Inheritance order:

  1. uproot.containers.Container

  2. collections.abc.Sequence

  3. collections.abc.Reversible

  4. collections.abc.Collection

  5. collections.abc.Sized

  6. collections.abc.Iterable

  7. collections.abc.Container

class uproot.containers.ROOTRVec(values)
Parameters:

values (numpy.ndarray or iterable) – Contents of the ROOT::VecOps::RVec.

Representation of a C++ ROOT::VecOps::RVec as a Python Sequence.

tolist

Inherited from uproot.containers.Container.

ROOTRVec.tolist()

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