Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/21082#discussion_r183412270
--- Diff: python/pyspark/sql/functions.py ---
@@ -2301,10 +2301,12 @@ def pandas_udf(f=None, returnType=None,
functionType=None):
The returned scalar can be either a python primitive type, e.g.,
`int` or `float`
or a numpy data type, e.g., `numpy.int64` or `numpy.float64`.
- :class:`ArrayType`, :class:`MapType` and :class:`StructType` are
currently not supported as
- output types.
+ :class:`MapType` and :class:`StructType` are currently not
supported as output types.
- Group aggregate UDFs are used with
:meth:`pyspark.sql.GroupedData.agg`
+ Group aggregate UDFs are used with
:meth:`pyspark.sql.GroupedData.agg` and
+ :meth:`pyspark.sql.Window`
--- End diff --
``` :class:`pyspark.sql.Window` ```?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]