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

    https://github.com/apache/spark/pull/18732#discussion_r141891357
  
    --- 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 --
    
    I am not sure if that is necessary. We can check if the function should 
have just one parameter in `apply()` without introducing a new `pandas_df_udf` 
too.



---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to