[ 
https://issues.apache.org/jira/browse/ARROW-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antoine Pitrou updated ARROW-2140:
----------------------------------
    Description: 
{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}

  was:
{code:python}
>>> arr = np.array([1.5], dtype=np.float16)
>>> pa.array(arr)
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}


> [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
>
> {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)

Reply via email to