-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
bugThe problem described is something that must be fixedThe problem described is something that must be fixed
Description
While trying to opening double nested root arrays with pandas, the array type remains as STLVector. The data I'm using has index, subindex and subsubindex. The double nested array opens fine with the default awkward opening.
import uproot
data = uproot.open("file.root").arrays(['Double Nested', 'Single Nested'], library="pd")
print(type(data.iloc[0]['Double Nested']), type(data.iloc[0]['Single Nested']))<class 'uproot.containers.STLVector'> <class 'awkward.highlevel.Array'>
While opening data with the normal awkward is the expected awkward array type
import uproot
data = uproot.open("file.root").arrays(['Double Nested', 'Single Nested'])
print(type(data[0]['Double Nested']), type(data[0]['Single Nested']))<class 'awkward.highlevel.Array'> <class 'awkward.highlevel.Array'>
I'm using uproot 5.0.7, pandas 2.0.1 and awkward-pandas 2022.12a1.
Metadata
Metadata
Assignees
Labels
bugThe problem described is something that must be fixedThe problem described is something that must be fixed