You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2018/02/11 17:04:00 UTC
[jira] [Created] (ARROW-2128) [Python] Cannot serialize array of
empty lists
Uwe L. Korn created ARROW-2128:
----------------------------------
Summary: [Python] Cannot serialize array of empty lists
Key: ARROW-2128
URL: https://issues.apache.org/jira/browse/ARROW-2128
Project: Apache Arrow
Issue Type: Bug
Components: Python
Affects Versions: 0.8.0
Reporter: Uwe L. Korn
Fix For: 0.9.0
This currently failing:
{code:java}
data = pd.Series([[], [], []])
arr = pa.array(data)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
array.pxi:181: in pyarrow.lib.array
???
array.pxi:26: in pyarrow.lib._sequence_to_array
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E pyarrow.lib.ArrowTypeError: Unable to determine data type
{code}
The code in {{SeqVisitor::GetType}}Â suggests that we don't want to support thus but I would have expected that the above should result in {{List<Null>}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)