类 DataFrameGroupBy


  • public class DataFrameGroupBy
    extends GroupBy
    作者:
    Yaqiang Wang
    • 字段概要

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      <V> DataFrame apply​(Function<?,​?> function)  
      DataFrame count()
      Compute the sum of the numeric columns for each group.
      DataFrame max()
      Compute the Maximum of the numeric columns for each group.
      DataFrame mean()
      Compute the mean of the numeric columns for each group.
      DataFrame median()
      Compute the median of the numeric columns for each group.
      DataFrame min()
      Compute the minimum of the numeric columns for each group.
      DataFrame percentile​(double quantile)
      Compute the percentile of the numeric columns for each group.
      DataFrame stdDev()
      Compute the standard deviation of the numeric columns for each group.
      DataFrame sum()
      Compute the sum of the numeric columns for each group.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • DataFrameGroupBy

        public DataFrameGroupBy​(Grouping groups,
                                DataFrame dataFrame)
        Constructor
        参数:
        groups - The groups
        dataFrame - The data frame
    • 方法详细资料

      • count

        public DataFrame count()
        Compute the sum of the numeric columns for each group.
        指定者:
        count 在类中 GroupBy
        返回:
        the new data frame
      • sum

        public DataFrame sum()
        Compute the sum of the numeric columns for each group.
        指定者:
        sum 在类中 GroupBy
        返回:
        the new data frame
      • mean

        public DataFrame mean()
        Compute the mean of the numeric columns for each group.
        指定者:
        mean 在类中 GroupBy
        返回:
        the new data frame
      • min

        public DataFrame min()
        Compute the minimum of the numeric columns for each group.
        指定者:
        min 在类中 GroupBy
        返回:
        the new data frame
      • max

        public DataFrame max()
        Compute the Maximum of the numeric columns for each group.
        指定者:
        max 在类中 GroupBy
        返回:
        the new data frame
      • median

        public DataFrame median()
        Compute the median of the numeric columns for each group.
        指定者:
        median 在类中 GroupBy
        返回:
        the new data frame
      • stdDev

        public DataFrame stdDev()
        Compute the standard deviation of the numeric columns for each group.
        指定者:
        stdDev 在类中 GroupBy
        返回:
        the new dataframe
      • percentile

        public DataFrame percentile​(double quantile)
        Compute the percentile of the numeric columns for each group.
        指定者:
        percentile 在类中 GroupBy
        参数:
        quantile - Quantile value
        返回:
        the new dataframe