Closed
Description
Describe the bug, including details regarding any error messages, version, and platform.
Operator docs listed supported operators in
arithmetic (
+,-,/,%,**)
https://arrow.apache.org/docs/python/compute.html#standard-python-operators
https://arrow.apache.org/docs/python/generated/pyarrow.array.html
https://arrow.apache.org/docs/python/generated/pyarrow.Scalar.html#pyarrow.Scalar
However % is not implemented and * is missing, so it looks like a typo.
>>> import pyarrow as pa
>>> arr = pa.array([9,-9])
>>> arr * 3
<pyarrow.lib.Int64Array object at 0x1080eb640>
[
27,
-27
]>>> arr % 3
Traceback (most recent call last):
File "<python-input-5>", line 1, in <module>
arr % 3
~~~~^~~
TypeError: unsupported operand type(s) for %: 'pyarrow.lib.Int64Array' and 'int'(Found while working on #55264)
Component(s)
Documentation, Python
Activity
[-][Python][Docs] Array/Scalar operators docstring lists `%` instead `*`[/-][+][Python][Docs] Array/Scalar operators docstring lists `%` instead of `*`[/+]rok commentedon Nov 17, 2026
Issue resolved by pull request 55654
#55654
apacheGH-55653: [Python][Docs] Correction for operator list of Array/…