You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/03/29 23:39:00 UTC
[jira] [Resolved] (ARROW-2140) [Python] Conversion from Numpy
float16 array unimplemented
[ https://issues.apache.org/jira/browse/ARROW-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-2140.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.10.0
Issue resolved by pull request 1744
[https://github.com/apache/arrow/pull/1744]
> [Python] Conversion from Numpy float16 array unimplemented
> ----------------------------------------------------------
>
> Key: ARROW-2140
> URL: https://issues.apache.org/jira/browse/ARROW-2140
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Affects Versions: 0.8.0
> Reporter: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.10.0
>
>
> {code}
> >>> arr = np.array([1.5], dtype=np.float16)
> >>> pa.array(arr, type=pa.float16())
> Traceback (most recent call last):
> File "<ipython-input-6-e432e6663efb>", line 1, in <module>
> pa.array(arr)
> File "array.pxi", line 177, in pyarrow.lib.array
> File "array.pxi", line 84, in pyarrow.lib._ndarray_to_array
> File "public-api.pxi", line 158, in pyarrow.lib.pyarrow_wrap_array
> KeyError: 10
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)