polars::frame::group_by

Type Alias GroupsSlice

Source
pub type GroupsSlice = Vec<[u32; 2]>;
Available on crate feature algorithm_group_by only.
Expand description

Every group is indicated by an array where the

  • first value is an index to the start of the group
  • second value is the length of the group

Only used when group values are stored together

This type should have the invariant that it is always sorted in ascending order.

Aliased Typeยง

struct GroupsSlice { /* private fields */ }