dongjoon-hyun commented on a change in pull request #27251: 
[SPARK-30539][PYTHON][SQL] Add DataFrame.tail in PySpark
URL: https://github.com/apache/spark/pull/27251#discussion_r367799321
 
 

 ##########
 File path: python/pyspark/sql/dataframe.py
 ##########
 @@ -605,6 +605,22 @@ def take(self, num):
         """
         return self.limit(num).collect()
 
+    @ignore_unicode_prefix
+    @since(3.0)
+    def tail(self, num):
+        """
+        Returns the last `num` rows in the Dataset.
 
 Review comment:
   Shall we match the format with line 601?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to