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



##########
File path: python/pyspark/pandas/frame.py
##########
@@ -10859,7 +10859,7 @@ def query(self, expr, inplace=False) -> 
Optional["DataFrame"]:
             So, for example, to use `@` syntax, make sure the variable is 
serialized by, for
             example, putting it within the closure as below.
 
-            >>> df = pp.DataFrame({'A': range(2000), 'B': range(2000)})
+            >>> df = ps.DataFrame({'A': range(2000), 'B': range(2000)})
             >>> def query_func(pdf):
             ...     num = 1995
             ...     return pdf.query('A > @num')

Review comment:
       Let's also fix backticpp -> backticks 
https://github.com/apache/spark/pull/32103/files#diff-f8fd3a7153d9fce3d286400b80a4e61b3f9770e42177082f6c0adc507ddd2999L10879




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



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

Reply via email to