类 SeriesGroupBy

    • 构造器详细资料

      • SeriesGroupBy

        public SeriesGroupBy​(Grouping groups,
                             Series series)
        Constructor
        参数:
        groups - The groups
        series - The series
    • 方法详细资料

      • apply

        public <V> Series apply​(Function<?,​?> function)
        Apply a function
        类型参数:
        V - Data type
        参数:
        function - The function
        返回:
        Series
      • count

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

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

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

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

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

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

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

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