amaliujia commented on code in PR #38734:
URL: https://github.com/apache/spark/pull/38734#discussion_r1028724092


##########
python/pyspark/sql/connect/dataframe.py:
##########
@@ -122,6 +122,20 @@ def withPlan(cls, plan: plan.LogicalPlan, session: 
"RemoteSparkSession") -> "Dat
         new_frame._plan = plan
         return new_frame
 
+    def isEmpty(self) -> bool:
+        """Returns ``True`` if this :class:`DataFrame` is empty.

Review Comment:
   Nit: 
   
   When I read this, I actually not sure if it means the size of DataFrame or 
it means DataFrame is None. I guess it is the size. Not sure if there is a 
better to clarify this.



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