HyukjinKwon commented on a change in pull request #27466:
[SPARK-30722][PYTHON][DOCS] Update documentation for Pandas UDF with Python
type hints
URL: https://github.com/apache/spark/pull/27466#discussion_r375218392
##########
File path: python/pyspark/sql/pandas/group_ops.py
##########
@@ -121,8 +119,56 @@ def applyInPandas(self, func, schema):
| 2| 1.1094003924504583|
+---+-------------------+
- .. seealso:: :meth:`pyspark.sql.functions.pandas_udf`
+ Alternatively, the user can pass a function that takes two arguments.
Review comment:
Information ported from GROUPED MAP in `pandas_udf`.
----------------------------------------------------------------
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]