You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/01/25 14:42:26 UTC

[jira] [Created] (ARROW-511) [Python] List[T] conversions not implemented for single arrays

Wes McKinney created ARROW-511:
----------------------------------

             Summary: [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


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.4#6332)