xinrong-databricks commented on a change in pull request #35868:
URL: https://github.com/apache/spark/pull/35868#discussion_r837899917



##########
File path: python/pyspark/pandas/series.py
##########
@@ -3561,6 +3563,8 @@ def rank(self, method: str = "average", ascending: bool = 
True) -> "Series":
             * dense: like 'min', but rank always increases by 1 between groups
         ascending : boolean, default True
             False for ranks by high (1) to low (N)
+        numeric_only : bool, optional
+            Rank only numeric columns if set to True.

Review comment:
       Rephrased. Let me know if you still think it is unclear. Thanks




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to