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



##########
File path: python/pyspark/pandas/base.py
##########
@@ -439,6 +440,7 @@ def __rxor__(self, other: Any) -> SeriesOrIndex:
         return self._dtype_op.rxor(self, other)
 
     def __len__(self) -> int:
+        log_advice("`len` is expensive. Be aware of use it unless it is 
absolutely necessary.")

Review comment:
       I wonder if we should better remove this one .. cc @ueshin 
@xinrong-databricks FYI




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