You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "mroeschke (via GitHub)" <gi...@apache.org> on 2025/02/19 02:22:01 UTC
[I] [Python] Enable pyarrow.Decimal32/64Array.to_pandas [arrow]
mroeschke opened a new issue, #45570:
URL: https://github.com/apache/arrow/issues/45570
### Describe the enhancement requested
```python
In [1]: import pyarrow as pa
In [2]: import decimal
In [3]: pa.array([decimal.Decimal("3.14")], type=pa.decimal32(3, 2)).to_pandas()
---------------------------------------------------------------------------
ArrowNotImplementedError Traceback (most recent call last)
Cell In[3], line 1
----> 1 pa.array([decimal.Decimal("3.14")], type=pa.decimal32(3, 2)).to_pandas()
File /python3.12/site-packages/pyarrow/array.pxi:889, in pyarrow.lib._PandasConvertible.to_pandas()
File /python3.12/site-packages/pyarrow/array.pxi:1565, in pyarrow.lib.Array._to_pandas()
File /python3.12/site-packages/pyarrow/array.pxi:2118, in pyarrow.lib._array_like_to_pandas()
File /python3.12/site-packages/pyarrow/error.pxi:92, in pyarrow.lib.check_status()
ArrowNotImplementedError: No known equivalent Pandas block for Arrow data of type decimal32(3, 2) is known.
In [4]: pa.__version__
Out[4]: '19.0.1'
```
### Component(s)
Python
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Enable pyarrow.Decimal32/64Array.to_pandas [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #45570: [Python] Enable pyarrow.Decimal32/64Array.to_pandas
URL: https://github.com/apache/arrow/issues/45570
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Enable pyarrow.Decimal32/64Array.to_pandas [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on issue #45570:
URL: https://github.com/apache/arrow/issues/45570#issuecomment-2671628293
Issue resolved by pull request 45571
https://github.com/apache/arrow/pull/45571
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org