pitrou opened a new issue, #46606:
URL: https://github.com/apache/arrow/issues/46606
### Describe the bug, including details regarding any error messages,
version, and platform.
I don't know if we can easily support this, but it should at least fail with
a more readable error:
```python
>>> a = pa.array([1.2, 3.5, None])
>>> a
<pyarrow.lib.DoubleArray object at 0x7d05b7f25900>
[
1.2,
3.5,
null
]
>>> a[::-1]
Traceback (most recent call last):
Cell In[4], line 1
a[::-1]
File pyarrow/array.pxi:1523 in pyarrow.lib.Array.__getitem__
File pyarrow/array.pxi:587 in pyarrow.lib._normalize_slice
AttributeError: 'NoneType' object has no attribute 'arange'
```
### Component(s)
Python
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]