You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which gives <JaggedArray [[None] [] [1 None 3]] at 0x000111048690>, and then proceeded to select some index inside the array with
af=a[a.argmax()].pad(1, clip=True).flatten()
leaving me <MaskedArray [None None 3] at 0x00013a865750>. All good so far, but the type is very strange: ArrayType(3, OptionType(OptionType(dtype('int64')))) I don't understand what nested OptionType means. I can collapse it at least: af[~af.boolmask()].content.content returns array([3]).
I managed to end up with something like
which gives
<JaggedArray [[None] [] [1 None 3]] at 0x000111048690>, and then proceeded to select some index inside the array withleaving me
<MaskedArray [None None 3] at 0x00013a865750>. All good so far, but the type is very strange:ArrayType(3, OptionType(OptionType(dtype('int64'))))I don't understand what nested OptionType means. I can collapse it at least:af[~af.boolmask()].content.contentreturnsarray([3]).