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

    https://github.com/apache/spark/pull/20211#discussion_r161086349
  
    --- Diff: python/pyspark/sql/group.py ---
    @@ -233,6 +233,27 @@ def apply(self, udf):
             |  2| 1.1094003924504583|
             +---+-------------------+
     
    +        Notes on grouping column:
    --- End diff --
    
    One thing probably needs a bit clarify that I am a little confused by the 
doc of `gapply` here:
    
    https://github.com/apache/spark/blob/master/R/pkg/R/DataFrame.R#L1626
    
    In the output, there is a "Model" column:
    https://github.com/apache/spark/blob/master/R/pkg/R/DataFrame.R#L1646
    
    but it's not specified in the schema:
    https://github.com/apache/spark/blob/master/R/pkg/R/DataFrame.R#L1631
    
    Looks like it might be a mistake in the doc from the description of the 
function, but I am not sure.


---

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

Reply via email to