Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18732#discussion_r141830344
  
    --- Diff: python/pyspark/sql/group.py ---
    @@ -194,6 +194,28 @@ def pivot(self, pivot_col, values=None):
                 jgd = self._jgd.pivot(pivot_col, values)
             return GroupedData(jgd, self.sql_ctx)
     
    +    def apply(self, udf_obj):
    --- End diff --
    
    Maybe we can define another `pandas_df_udf` for this kind of pandas udf?


---

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

Reply via email to