pitrou commented on code in PR #13327:
URL: https://github.com/apache/arrow/pull/13327#discussion_r898878942


##########
python/pyarrow/_compute.pyx:
##########
@@ -2086,9 +2096,11 @@ class RankOptions(_RankOptions):
 
     Parameters
     ----------
-    order : str, default "ascending"
-        Which order to sort values in.
-        Accepted values are "ascending", "descending".
+    sort_keys : sequence of (name, order) tuples or str, default "ascending"
+        Names of field/column keys to sort the input on,
+        along with the order each field/column is sorted in.
+        Accepted values for `order` are "ascending", "descending".
+        Also accepted "ascending"/"descending" string.

Review Comment:
   ```suggestion
           Alternatively, one can simply pass "ascending" or "descending" as a 
string
           if the input is array-like.
   ```



-- 
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]

Reply via email to