[
https://issues.apache.org/jira/browse/ARROW-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398732#comment-16398732
]
ASF GitHub Bot commented on ARROW-2140:
---------------------------------------
pitrou commented on issue #1744: ARROW-2140: [Python] Improve float16 support
URL: https://github.com/apache/arrow/pull/1744#issuecomment-373059009
The Travis-CI failure is due to a regression in a Cython 0.28:
https://github.com/cython/cython/issues/2148
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [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)