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` ??
   
   Maybe 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
               * kwargs: Any
                   optional keyword arguments for the func
   ```




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