python/ray/data/grouped_dataset.py
def _aggregate_on(
        self,
        agg_cls: type,
        on: Union[KeyFn, List[KeyFn]],
        ignore_nulls: bool,
        *args,
        **kwargs,
    ):
        """Helper for aggregating on a particular subset of the dataset.

        This validates the `on` argument, and converts a list of column names
        or lambdas to a multi-aggregation. A null `on` results in a
        multi-aggregation on all columns for an Arrow Dataset, and a single
        aggregation on the entire row for a simple Dataset.
        """
        aggs = self._dataset._build_multicolumn_aggs(
            agg_cls, on, ignore_nulls, *args, skip_cols=self._key, **kwargs
        )
        return self.aggregate(*aggs)
Helper for aggregating on a particular subset of the dataset.

        This validates the `on` argument, and converts a list of column names
        or lambdas to a multi-aggregation. A null `on` results in a
        multi-aggregation on all columns for an Arrow Dataset, and a single
        aggregation on the entire row for a simple Dataset.
        
Helper for aggregating on a particular subset of the dataset.
This validates the `on` argument, and converts a list of column names
or lambdas to a multi-aggregation. A null `on` results in a
multi-aggregation on all columns for an Arrow Dataset, and a single
aggregation on the entire row for a simple Dataset.
Helper for aggregating on a particular subset of the dataset . This validates the ` on ` argument and converts a list of column names or lambdas to a multi - aggregation . A null ` on ` results in a multi - aggregation on all columns for an Arrow Dataset and a single aggregation on the entire row for a simple Dataset .
def _aggregate_on(
        self,
        agg_cls: type,
        on: Union[KeyFn, List[KeyFn]],
        ignore_nulls: bool,
        *args,
        **kwargs,
    ):
        aggs = self._dataset._build_multicolumn_aggs(
            agg_cls, on, ignore_nulls, *args, skip_cols=self._key, **kwargs
        )
        return self.aggregate(*aggs)
def _aggregate_on ( self , agg_cls : type , on : Union [ KeyFn , List [ KeyFn ] ] , ignore_nulls : bool , * args , ** kwargs , ) : aggs = self . _dataset . _build_multicolumn_aggs ( agg_cls , on , ignore_nulls , * args , skip_cols = self . _key , ** kwargs ) return self . aggregate ( * aggs )
Helper for aggregating on a particular subset of the dataset.
Helper for aggregating on a particular subset of the dataset .
"""Helper for aggregating on a particular subset of the dataset.

        This validates the `on` argument, and converts a list of column names
        or lambdas to a multi-aggregation. A null `on` results in a
        multi-aggregation on all columns for an Arrow Dataset, and a single
        aggregation on the entire row for a simple Dataset.
        """
self
agg_cls
type
on
Union[KeyFn, List[KeyFn]]
ignore_nulls
bool