Skip to main content

IntoGroupsType

Trait IntoGroupsType 

Source
pub trait IntoGroupsType {
    // Provided method
    fn group_tuples(
        &self,
        _multithreaded: bool,
        _sorted: bool,
    ) -> Result<GroupsType, PolarsError> { ... }
}
Expand description

Used to create the tuples for a group_by operation.

Provided Methods§

Source

fn group_tuples( &self, _multithreaded: bool, _sorted: bool, ) -> Result<GroupsType, 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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§