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

Krisztian Szucs resolved ARROW-12667.
-------------------------------------
    Resolution: Fixed

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

> [Python] Ensure test coverage for conversion of strided numpy arrays
> --------------------------------------------------------------------
>
>                 Key: ARROW-12667
>                 URL: https://issues.apache.org/jira/browse/ARROW-12667
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>    Affects Versions: 4.0.0
>            Reporter: Alessandro Molina
>            Assignee: Alessandro Molina
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code:python}
> nparray = np.array([b"ab", b"cd", b"ef"])
> arrow_array = pa.array(nparray[::2], pa.binary(2))
> assert [b"ab", b"ef"] == arrow_array.to_pylist()
> {code}
> The final result instead will be {{[b'ab', b'cd']}} which didn't deal 
> correctly with the numpy array projection.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to