ray.data.grouped_data.GroupedData
ray.data.grouped_data.GroupedData#
- class ray.data.grouped_data.GroupedData(dataset: ray.data.dataset.Dataset, key: str)[source]#
Represents a grouped dataset created by calling
Dataset.groupby()
.The actual groupby is deferred until an aggregation is applied.
Methods
Construct a dataset grouped by key (internal API).
Implements an accumulator-based aggregation.
Compute count aggregation.
Apply the given function to each group of records of this dataset.
Compute grouped max aggregation.
Compute grouped mean aggregation.
Compute grouped min aggregation.
Compute grouped standard deviation aggregation.
Compute grouped sum aggregation.