You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Uwe Korn (Jira)" <ji...@apache.org> on 2020/08/28 09:42:00 UTC
[jira] [Created] (ARROW-9879) [Python] ChunkedArray.__getitem__ doesn't work with numpy scalars
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)