From a24d0fa48e7d4c3333c259bc5361481dfd0bc38f Mon Sep 17 00:00:00 2001 From: Tadeja Kadunc Date: Tue, 17 Nov 2026 16:31:07 +0100 Subject: [PATCH] Fix docstrings and compute.rst --- docs/source/python/compute.rst | 2 +- python/pyarrow/array.pxi | 2 +- python/pyarrow/scalar.pxi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/python/compute.rst b/docs/source/python/compute.rst index 324959fb0019..ef12e31a67db 100644 --- a/docs/source/python/compute.rst +++ b/docs/source/python/compute.rst @@ -519,7 +519,7 @@ Standard Python Operators PyArrow supports standard Python operators for element-wise operations for arrays and scalars. Currently, the support is limited to some of the standard compute functions, i.e. -arithmetic (``+``, ``-``, ``/``, ``%``, ``**``), +arithmetic (``+``, ``-``, ``*``, ``/``, ``**``), bitwise (``&``, ``|``, ``^``, ``>>``, ``<<``) and others. The aforementioned operators use checked version of underlying kernels wherever possible diff --git a/python/pyarrow/array.pxi b/python/pyarrow/array.pxi index 239d968f69ef..c4862df59783 100644 --- a/python/pyarrow/array.pxi +++ b/python/pyarrow/array.pxi @@ -199,7 +199,7 @@ def array(object obj, type=None, mask=None, size=None, from_pandas=None, explicit index type will not be demoted even if it is wider than required. This class supports Python's standard operators - for element-wise operations, i.e. arithmetic (`+`, `-`, `/`, `%`, `**`), + for element-wise operations, i.e. arithmetic (`+`, `-`, `*`, `/`, `**`), bitwise (`&`, `|`, `^`, `>>`, `<<`) and others. They can be used directly instead of calling underlying `pyarrow.compute` functions explicitly. diff --git a/python/pyarrow/scalar.pxi b/python/pyarrow/scalar.pxi index f96fb40572b9..b6d6a5a1eaa4 100644 --- a/python/pyarrow/scalar.pxi +++ b/python/pyarrow/scalar.pxi @@ -28,7 +28,7 @@ cdef class Scalar(_Weakrefable): Notes ----- This class supports Python's standard operators - for element-wise operations, i.e. arithmetic (`+`, `-`, `/`, `%`, `**`), + for element-wise operations, i.e. arithmetic (`+`, `-`, `*`, `/`, `**`), bitwise (`&`, `|`, `^`, `>>`, `<<`) and others. They can be used directly instead of calling underlying `pyarrow.compute` functions explicitly.