You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/11/05 02:44:48 UTC

[GitHub] [spark] HyukjinKwon commented on a change in pull request #34484: [SPARK-37207][SQL][PYTHON] Add isEmpty method for the Python DataFrame API

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



##########
File path: python/pyspark/sql/dataframe.py
##########
@@ -473,6 +473,23 @@ def isStreaming(self) -> bool:
         """
         return self._jdf.isStreaming()
 
+    def isEmpty(self) -> bool:
+        """Returns ``True`` if this :class:`DataFrame` is empty.
+
+        .. versionadded:: 3.3.0
+
+         Examples

Review comment:
       ```suggestion
           Examples
   ```




-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org