HyukjinKwon commented on code in PR #46368:
URL: https://github.com/apache/spark/pull/46368#discussion_r1591746323


##########
python/pyspark/sql/dataframe.py:
##########
@@ -657,6 +657,19 @@ def printSchema(self, level: Optional[int] = None) -> None:
         """
         ...
 
+    @dispatch_df_method
+    def sizeInBytesApproximation(self) -> int:
+        """Return approximate size in bytes of a DataFrame.
+
+        .. versionadded:: 4.0.0
+
+        Returns
+        -------
+        int
+            Size in bytes estimated from optimized plan

Review Comment:
   can we add 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-unsubscr...@spark.apache.org

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


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

Reply via email to