Uwe Korn created ARROW-9879:
-------------------------------

             Summary: [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
             Fix For: 2.0.0


 

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