bjornjorgensen commented on a change in pull request #34389:
URL: https://github.com/apache/spark/pull/34389#discussion_r737338014



##########
File path: python/pyspark/pandas/indexes/base.py
##########
@@ -1553,6 +1558,9 @@ def sort_values(self, ascending: bool = True) -> "Index":
                     ('a', 'x', 1)],
                    )
         """
+        log_advice(
+            "`sort_values` is expensive. Be aware of use it unless it is 
absolutely necessary."

Review comment:
       Change "Be aware of use it unless it is absolutely necessary."
   to "Be aware to use it unless it is absolutely necessary."




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