amol- commented on a change in pull request #11830:
URL: https://github.com/apache/arrow/pull/11830#discussion_r763051533
##########
File path: docs/source/python/api/compute.rst
##########
@@ -498,3 +498,50 @@ Structural Transforms
make_struct
replace_with_mask
struct_field
+
+Compute Options
+---------------
+
+.. autosummary::
+ :toctree: ../generated/
+
+ ArraySortOptions
+ AssumeTimezoneOptions
Review comment:
Removing it also removes the reference page where you can see the
signature
##########
File path: docs/source/python/compute.rst
##########
@@ -23,17 +23,32 @@ Compute Functions
=================
Arrow supports logical compute operations over inputs of possibly
-varying types. Many compute functions support both array (chunked or not)
-and scalar inputs, but some will mandate either. For example,
-``sort_indices`` requires its first and only input to be an array.
+varying types.
-Below are a few simple examples:
+The standard compute operations are provided by the :mod:`pyarrow.compute`
+module and can be used directly::
>>> import pyarrow as pa
>>> import pyarrow.compute as pc
>>> a = pa.array([1, 1, 2, 3])
>>> pc.sum(a)
<pyarrow.Int64Scalar: 7>
+
+The grouped aggregation functions are instead an exception
+and need to be used through the :meth:`pyarrow.Table.group_by` capabilities.
Review comment:
:+1: added link
--
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]