itholic commented on a change in pull request #34863:
URL: https://github.com/apache/spark/pull/34863#discussion_r776170974



##########
File path: python/pyspark/sql/dataframe.py
##########
@@ -3067,6 +3067,10 @@ def transform(self, func: Callable[["DataFrame"], 
"DataFrame"]) -> "DataFrame":
         ----------
         func : function
             a function that takes and returns a :class:`DataFrame`.
+        args : Any
+            optional positional arguments for the func function
+        kwargs: Any
+            optional keyword arguments for the func function

Review comment:
       I think they are not the Parameters of `transform` ??
   
   I think it should be described as a child of `func`.
   
   e.g.
   ```python
           func : function
               a function that takes and returns a :class:`DataFrame`.
               * args : Any
                   optional positional arguments for the func function
               * kwargs: Any
                   optional keyword arguments for the func function
   ```




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

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