This repository was archived by the owner on Dec 29, 2021. It is now read-only.
This repository was archived by the owner on Dec 29, 2021. It is now read-only.
Grouping and Aggregation Expressions #23
Open
Description
In order to implement aggregations, we need to be able to group data. Like joins, the task of grouping probably belongs upstream, but we should be able to define how to group data.
The LazyFrame
might need some state (whether it's grouped or not) to prevent 'normal' calculations when it's in a grouped state. I don't want to implement a GroupedLazyFrame
because we rely on mutating the &mut LazyFrame
to add on computations.
An aggregation should ideally take in multiple aggregations.
A grouping should take in multiple columns, with columns that aren't grouped or aggregated, getting dropped.