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

ASF GitHub Bot updated ARROW-9879:
----------------------------------
    Labels: pull-request-available  (was: )

> [Python] ChunkedArray.__getitem__ doesn't work with numpy scalars
> -----------------------------------------------------------------
>
>                 Key: ARROW-9879
>                 URL: https://issues.apache.org/jira/browse/ARROW-9879
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Uwe Korn
>            Assignee: Uwe Korn
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
>  
> {{import pyarrow as pa
> import numpy as np
> pa.chunked_array(pa.array([1,2]))[np.int32(0)]}}
> fails with error {{TypeError: key must either be a slice or integer}}.



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

Reply via email to