Hi,

I'm working through a certain use case where I'm unnesting ListArrays, but
I noticed something peculiar - null ListValues are not retained in the
unnested array.

E.g.
In [0]: arr = pa.array([[0, 1], [0], None, None])
In [1]: arr.flatten()
Out [1]: [0, 1, 0]

While I would have expected [0, 1, 0, null, null].

I should note that this works if the None is encapsulated in a list. So I'm
guessing this is expected logic and if so, what's the reasoning for that?

Thanks,
Suhail

Reply via email to