Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
See
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)
as reported in https://github.com/apache/arrow/issues/5203
Attachments
Issue Links
- links to