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

Uwe L. Korn resolved ARROW-2285.
--------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 0.11.0)
                   0.10.0

Issue resolved by pull request 1998
[https://github.com/apache/arrow/pull/1998]

> [Python] Can't convert Numpy string arrays
> ------------------------------------------
>
>                 Key: ARROW-2285
>                 URL: https://issues.apache.org/jira/browse/ARROW-2285
>             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
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {code:python}
> >>> arr = np.array([b'foo', b'bar'], dtype='S3')
> >>> pa.array(arr, type=pa.binary(3))
> Traceback (most recent call last):
>   File "<ipython-input-40-d52a5aa3b94e>", line 1, in <module>
>     pa.array(arr, type=pa.binary(3))
>   File "array.pxi", line 177, in pyarrow.lib.array
>   File "array.pxi", line 77, in pyarrow.lib._ndarray_to_array
>   File "error.pxi", line 85, in pyarrow.lib.check_status
> ArrowNotImplementedError: 
> /home/antoine/arrow/cpp/src/arrow/python/numpy_to_arrow.cc:1661 code: 
> converter.Convert()
> NumPyConverter doesn't implement <fixed_size_binary[3]> conversion. 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to