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

    https://github.com/apache/spark/pull/11569#discussion_r61170976
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -2469,6 +2469,126 @@ setMethod("drop",
                 base::drop(x)
               })
     
    +#' This function computes a histogram for a given SparkR Column.
    +#' 
    +#' @name histogram
    +#' @title Histogram
    +#' @param nbins the number of bins (optional). Default value is 10.
    +#' @param df the DataFrame containing the Column to build the histogram 
from.
    +#' @param colname the name of the column to build the histogram from.
    +#' @return a data.frame with the histogram statistics, i.e., counts and 
centroids.
    +#' @rdname histogram
    +#' @family SparkDataFrame functions
    +#' @export
    +#' @examples 
    +#' \dontrun{
    +#' 
    +#' # Create a DataFrame from the Iris dataset
    --- End diff --
    
    As @felixcheung mentioned before `DataFrame`-> `SparkDataFrame` ? Or we can 
just delete this comment


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to