Trait polars_core::prelude::IntoGroupsProxy
source · pub trait IntoGroupsProxy {
fn group_tuples(
&self,
_multithreaded: bool,
_sorted: bool
) -> PolarsResult<GroupsProxy> { ... }
}
Expand description
Used to create the tuples for a groupby operation.
Provided Methods§
sourcefn group_tuples(
&self,
_multithreaded: bool,
_sorted: bool
) -> PolarsResult<GroupsProxy>
fn group_tuples(
&self,
_multithreaded: bool,
_sorted: bool
) -> PolarsResult<GroupsProxy>
Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value.
Implementors§
impl IntoGroupsProxy for BinaryChunked
Available on crate feature
dtype-binary
only.impl IntoGroupsProxy for BooleanChunked
impl IntoGroupsProxy for ListChunked
impl IntoGroupsProxy for Utf8Chunked
impl<T> IntoGroupsProxy for ChunkedArray<T>where
T: PolarsNumericType,
T::Native: NumCast,
impl<T> IntoGroupsProxy for ObjectChunked<T>where
T: PolarsObject,
Available on crate feature
object
only.