You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/14 15:14:31 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated ARROW-2140:
----------------------------------
Labels: pull-request-available (was: )
> [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
>
> {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)