randolf-scholz opened a new issue, #36789:
URL: https://github.com/apache/arrow/issues/36789
### Describe the enhancement requested
Numpy allows division of timedelta64 by timedelta64 types, resulting in
plain floating points (units cancel!)
```python
import pyarrow as pa
import numpy as np
one_second_numpy = np.timedelta64(1, "s")
one_second_arrow = pa.scalar(1, pa.duration("s"))
assert one_second_numpy / one_second_numpy == 1.0 # ✔
assert one_second_arrow / one_second_arrow == 1.0 # TypeError: unsupported
operand
```
### 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]