This repository has been archived by the owner on Jun 21, 2022. It is now read-only.
Releases: scikit-hep/uproot3
Releases · scikit-hep/uproot3
3.7.0
Full release with lazy profiles (see pre-release announcement).
3.7.0rc1
First version with lazy profiles:
a = uproot.lazyarrays("nanoaod*.root", "Events", profile="cms.nanoaod")
a.electrons # jagged array of electron objects
a.electrons.pt # jagged array of electron pT
a.electrons.photon # jagged, masked array of the photons linked to each electron (if any)
a.electrons.photon.pt # their pT
a.photons.pt # this is different
The profile restructures the lazy array so that—without triggering any reads—it has a physics-friendly nested structure.
3.6.5
3.6.4
3.6.3
Added
- Writing
TH1
,TH2
,TH3
,TProfile
, andTProfile2D
. - Memory size units as strings, like
"1 GB"
, particularly in entrysteps (e.g.for data in tree.iterate(entrysteps="1 GB")
). (Issue #285) tree.mempartitions
implements memory-sized partitions, like clusters but targeting a memory size.- Memory size units can be used in all arguments that specify a number of bytes, such as
limitbytes
,chunkbytes
inArrayCache
anduproot.open
for remote files. - HTTP and XRootD source options can now be passed simply into
uproot.open("http://remote/file.root", limitbytes="1 GB")
. - Fixed error in entrysteps (Issue #286).
- Fixed some documentation.
- Fixed branch selection with a boolean function.