Skip to main content

Module group

Module group 

Source
Expand description

GroupBy: hash-based grouping with aggregation.

Supports the polars pattern: df.lazy().group_by([cols]).agg([exprs]) via df.group_by(&["col1", "col2"])?.agg(&[Agg::Sum("val"), Agg::Count])

Structs§

GroupBy
Intermediate grouping result. Call .agg() to produce a DataFrame.

Enums§

Agg
Aggregation operation to apply within each group.