uproot.STLMap
Defined in uproot.containers on line 1778.
| Inheritance order: | 
|---|
| 
 | 
- class uproot.containers.STLMap(keys, values)
- Parameters:
- keys ( - numpy.ndarrayor iterable) – Keys of the- std::map.
- values ( - numpy.ndarrayor iterable) – Values of the- std::map.
 
 - Representation of a C++ - std::mapas a Python- Mapping.- The - keysand- valuesmust have the same length.
from_mapping
- classmethod STLMap.from_mapping(mapping)
- Construct a uproot.STLMap from a Python object with - keys()and- values().
keys
- STLMap.keys()
- Keys of the - std::mapas a- numpy.ndarray.
values
- STLMap.values()
- Values of the - std::mapas a- numpy.ndarray.
items
- STLMap.items()
- Key, value pairs of the - std::mapas a- numpy.ndarray.
get
- STLMap.get(where, default=None)
- Get with a default, like dict.get. 
tolist
Inherited from uproot.containers.Container.
- STLMap.tolist()
- Convert the data this collection contains into nested lists, sets, and dicts.