pub trait IntoGroupsProxy {
// Provided method
fn group_tuples(
&self,
_multithreaded: bool,
_sorted: bool,
) -> Result<GroupsProxy, PolarsError> { ... }
}
Expand description
Used to create the tuples for a group_by operation.
Provided Methods§
Sourcefn group_tuples(
&self,
_multithreaded: bool,
_sorted: bool,
) -> Result<GroupsProxy, PolarsError>
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§
impl IntoGroupsProxy for ChunkedArray<BinaryOffsetType>
impl IntoGroupsProxy for ChunkedArray<BinaryType>
impl IntoGroupsProxy for ChunkedArray<BooleanType>
impl IntoGroupsProxy for ChunkedArray<FixedSizeListType>
Available on crate feature
dtype-array
only.impl IntoGroupsProxy for ChunkedArray<ListType>
impl IntoGroupsProxy for ChunkedArray<StringType>
impl<T> IntoGroupsProxy for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature
object
only.