[ https://issues.apache.org/jira/browse/ARROW-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Szucs resolved ARROW-6369. ------------------------------------ Resolution: Fixed Issue resolved by pull request 5301 [https://github.com/apache/arrow/pull/5301] > [Python] Support list-of-boolean in Array.to_pandas conversion > -------------------------------------------------------------- > > Key: ARROW-6369 > URL: https://issues.apache.org/jira/browse/ARROW-6369 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Reporter: Wes McKinney > Assignee: Wes McKinney > Priority: Major > Labels: pull-request-available > Fix For: 0.15.0 > > Time Spent: 20m > Remaining Estimate: 0h > > See > {code} > In [4]: paste > > > a = pa.array(np.array([[True, False], [True, True, True]])) > ## -- End pasted text -- > In [5]: a > > > Out[5]: > <pyarrow.lib.ListArray object at 0x7fc187d3fa40> > [ > [ > true, > false > ], > [ > true, > true, > true > ] > ] > In [6]: a.to_pandas() > > > --------------------------------------------------------------------------- > ArrowNotImplementedError Traceback (most recent call last) > <ipython-input-6-08d835d60bd1> in <module> > ----> 1 a.to_pandas() > ~/code/arrow/python/pyarrow/array.pxi in > pyarrow.lib._PandasConvertible.to_pandas() > 439 deduplicate_objects=deduplicate_objects) > 440 > --> 441 return self._to_pandas(options, categories=categories, > 442 ignore_metadata=ignore_metadata) > 443 > ~/code/arrow/python/pyarrow/array.pxi in pyarrow.lib.Array._to_pandas() > 815 > 816 with nogil: > --> 817 check_status(ConvertArrayToPandas(c_options, > self.sp_array, > 818 self, &out)) > 819 return wrap_array_output(out) > ~/code/arrow/python/pyarrow/error.pxi in pyarrow.lib.check_status() > 84 raise ArrowKeyError(message) > 85 elif status.IsNotImplemented(): > ---> 86 raise ArrowNotImplementedError(message) > 87 elif status.IsTypeError(): > 88 raise ArrowTypeError(message) > ArrowNotImplementedError: Not implemented type for lists: bool > In ../src/arrow/python/arrow_to_pandas.cc, line 1910, code: > VisitTypeInline(*data_->type(), this) > {code} > as reported in https://github.com/apache/arrow/issues/5203 -- This message was sent by Atlassian Jira (v8.3.2#803003)