[
https://issues.apache.org/jira/browse/ARROW-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phillip Cloud updated ARROW-2157:
---------------------------------
Summary: [Python] Decimal arrays cannot be constructed from Python lists
(was: Decimal arrays cannot be constructed from Python lists)
> [Python] Decimal arrays cannot be constructed from Python lists
> ---------------------------------------------------------------
>
> Key: ARROW-2157
> URL: https://issues.apache.org/jira/browse/ARROW-2157
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.8.0
> Reporter: Phillip Cloud
> Assignee: Phillip Cloud
> Priority: Major
> Fix For: 0.9.0
>
>
> {code}
> In [14]: pa.array([Decimal('1')])
> ---------------------------------------------------------------------------
> ArrowInvalid Traceback (most recent call last)
> <ipython-input-14-458b6561866e> in <module>()
> ----> 1 pa.array([Decimal('1')])
> array.pxi in pyarrow.lib.array()
> array.pxi in pyarrow.lib._sequence_to_array()
> error.pxi in pyarrow.lib.check_status()
> ArrowInvalid: Error inferring Arrow data type for collection of Python
> objects. Got Python object of type Decimal but can only handle these types:
> bool, float, integer, date, datetime, bytes, unicode
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)