I'm trying to apply a mask onto my JaggedArray. Unfortunately, in the corner case where the JaggedArray is empty, I can an IndexError.
a = awkward.JaggedArray.fromoffsets([1, 1], [1, 1])
mask = a > 10
a[mask]
In case of arrays created by fromcounts, this seems to work.
I'm trying to apply a mask onto my
JaggedArray. Unfortunately, in the corner case where theJaggedArrayis empty, I can anIndexError.In case of arrays created by
fromcounts, this seems to work.