Closed mverzett closed 4 years ago
I don't see that error message; I see it complaining about
TypeError: jagged index must be boolean (mask) or integer (fancy indexing)
which is to say that the empty list is assumed to have floating point type and you can't use that as an index.
NumPy casts empty lists as np.float64
, but maybe Awkward should cast them as np.int64
to avoid exactly this problem. It's clear what you mean.
Thanks!
I found out that the following sequence raises an exception:
Is that supposed to happen? How should I treat this?