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 2017/02/05 10:43:42 UTC
[jira] [Commented] (ARROW-511) [Python] List[T] conversions not
implemented for single arrays
[ https://issues.apache.org/jira/browse/ARROW-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853199#comment-15853199 ]
Uwe L. Korn commented on ARROW-511:
-----------------------------------
PR: https://github.com/apache/arrow/pull/320
> [Python] List[T] conversions not implemented for single arrays
> --------------------------------------------------------------
>
> Key: ARROW-511
> URL: https://issues.apache.org/jira/browse/ARROW-511
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Wes McKinney
> Assignee: Uwe L. Korn
>
> It works for tables, though
> {code}
> In [2]: import pyarrow as pa
> In [3]: arr = pa.from_pylist([[1,2,3], None, [1, 2], [], [4]])
> In [4]: arr.to_pandas()
> ---------------------------------------------------------------------------
> ArrowException Traceback (most recent call last)
> <ipython-input-4-fb16f53a4747> in <module>()
> ----> 1 arr.to_pandas()
> /home/wesm/code/arrow/python/pyarrow/array.pyx in pyarrow.array.Array.to_pandas (/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/array.cxx:4271)()
> /home/wesm/code/arrow/python/pyarrow/error.pyx in pyarrow.error.check_status (/home/wesm/code/arrow/python/build/temp.linux-x86_64-3.5/error.cxx:1197)()
> ArrowException: NotImplemented: Arrow type reading not implemented for list<item: int64>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)