mstill3 commented on a change in pull request #26299: Fix typo in example 
documentation
URL: https://github.com/apache/spark/pull/26299#discussion_r340741159
 
 

 ##########
 File path: python/pyspark/sql/dataframe.py
 ##########
 @@ -1077,7 +1077,7 @@ def sort(self, *cols, **kwargs):
         """Returns a new :class:`DataFrame` sorted by the specified column(s).
 
         :param cols: list of :class:`Column` or column names to sort by.
-        :param ascending: boolean or list of boolean (default True).
+        :param ascending: boolean or list of boolean (default ``True``).
 
 Review comment:
   It formats the True to show up as slightly different text that is for python 
code expressions

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to