Uproot

Latest version: v5.3.7

Safety actively analyzes 629678 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 31 of 55

3.2.8

Fixed issues 175 (mapping `Double_t` to `double`, etc., in type names) and 177 (leaflist branches to distinct columns in Pandas).

3.2.7

Fixed 171 and added a way for developers to change the set of streamers in files written by uproot (PR 173).

3.2.6

Add a non-default option to interpret pointers of arrays of primitive types without the so-called "speed bump byte." For instance, `branch.array(branch.interpretation.speedbump(False))`. See 168 for an example of a case in which this is needed.

3.2.5

Fixes 166: reading branches with `TArray*` type.

3.2.4

Looking up branches (manually by the user or internally in `TTree.arrays`) is now faster for large numbers of branches. The O(n^2) lookup algorithm has been replaced by a single hashmap lookup, and a branch's `interpretation` property is now only computed once.

3.2.3

Three possibilities for `flatten` in `TTree.pandas.df` (and other array-fetching functions with `outputtype=pandas.DataFrame)`):
* `True`: jagged arrays are turned into a `pandas.MultiIndex` and maintain their Numpyness
* `False`: jagged arrays are turned into a column of Python lists
* `None` (new): jagged arrays are excluded, overriding the `branches` parameter.

Note that `flatten=True` is the default for `TTree.pandas.df` and `flatten=False` is the default for other array-fetching methods with `outputtype=pandas.DataFrame`.

This version also fixes an uproot 2 → 3 migration bug in handling jagged arrays.

Page 31 of 55

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.