Struct polars_core::frame::group_by::SlicedGroups
source · pub struct SlicedGroups<'a> { /* private fields */ }
Available on crate feature
algorithm_group_by
only.Methods from Deref<Target = GroupsProxy>§
pub fn iter(&self) -> GroupsProxyIter<'_> ⓘ
pub fn par_iter(&self) -> GroupsProxyParIter<'_>
sourcepub fn unwrap_idx(&self) -> &GroupsIdx
pub fn unwrap_idx(&self) -> &GroupsIdx
sourcepub fn unwrap_slice(&self) -> &GroupsSlice
pub fn unwrap_slice(&self) -> &GroupsSlice
pub fn get(&self, index: usize) -> GroupsIndicator<'_>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn group_count(&self) -> IdxCa
pub fn as_list_chunked(&self) -> ListChunked
pub fn slice(&self, offset: i64, len: usize) -> SlicedGroups<'_>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SlicedGroups<'a>
impl<'a> RefUnwindSafe for SlicedGroups<'a>
impl<'a> Send for SlicedGroups<'a>
impl<'a> Sync for SlicedGroups<'a>
impl<'a> Unpin for SlicedGroups<'a>
impl<'a> UnwindSafe for SlicedGroups<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more