; here just returns the child array, which has only 3 values in the
> > example you gave.
> >
> > A function could be written to insert "null" for List values that are
> > null, but someone would have to write it and give it a name =)
> >
> > - We
3 values in the
> example you gave.
>
> A function could be written to insert "null" for List values that are
> null, but someone would have to write it and give it a name =)
>
> - Wes
>
> On Wed, Sep 25, 2019 at 5:15 PM Suhail Razzak
> wrote:
> >
> > 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]:
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 expe