'Model_ROOT_3a3a_Experimental_3a3a_RNTuple' object is not subscriptable
error while accessing event keys
#1260
Labels
feature
New feature or request
Uproot version: 5.3.10
We compared data loading for TTree and RNTuple structures.
We tried to use method:
Accessing "Electron_pt" key worked with TTree, but did not work with RNTuple. In RNTuple case we got this error:
'Model_ROOT_3a3a_Experimental_3a3a_RNTuple' object is not subscriptable
For now as a workaround we used this approach:
events.arrays()["Electron_pt"]
,(NOTE: this approach is really slow when used with TTree).
If possible, we would like to :
array = events["Electron_pt"].array()
syntax for RNTuple as with TTree and get the same results.The text was updated successfully, but these errors were encountered: