You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2023/01/11 07:10:02 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=17657545#comment-17657545 ]
Rok Mihevc commented on ARROW-511:
----------------------------------
This issue has been migrated to [issue #16152|https://github.com/apache/arrow/issues/16152] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details.
> [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 Korn
> Priority: Major
> Fix For: 0.2.0
>
>
> 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
(v8.20.10#820010)