Trait polars::frame::group_by::IntoGroupsProxy

source ·
pub trait IntoGroupsProxy {
    // Provided method
    fn group_tuples(
        &self,
        _multithreaded: bool,
        _sorted: bool
    ) -> Result<GroupsProxy, PolarsError> { ... }
}
Available on crate feature algorithm_group_by only.
Expand description

Used to create the tuples for a group_by operation.

Provided Methods§

source

fn group_tuples( &self, _multithreaded: bool, _sorted: bool ) -> Result<GroupsProxy, PolarsError>

Create the tuples need for a group_by operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is the indexes of the groups including the first value.

Implementors§