Enum polars_core::frame::groupby::GroupsProxy
source · pub enum GroupsProxy {
Idx(GroupsIdx),
Slice {
groups: GroupsSlice,
rolling: bool,
},
}Variants§
Implementations§
source§impl GroupsProxy
impl GroupsProxy
pub fn into_idx(self) -> GroupsIdx
Available on crate feature
private only.pub fn iter(&self) -> GroupsProxyIter<'_> ⓘ
pub fn sort(&mut self)
Available on crate feature
private only.pub fn group_lengths(&self, name: &str) -> IdxCa
pub fn take_group_firsts(self) -> Vec<IdxSize>
pub fn par_iter(&self) -> GroupsProxyParIter<'_>
Available on crate feature
private only.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§
source§impl Clone for GroupsProxy
impl Clone for GroupsProxy
source§fn clone(&self) -> GroupsProxy
fn clone(&self) -> GroupsProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GroupsProxy
impl Debug for GroupsProxy
source§impl Default for GroupsProxy
impl Default for GroupsProxy
source§impl From<GroupsIdx> for GroupsProxy
impl From<GroupsIdx> for GroupsProxy
source§impl PartialEq<GroupsProxy> for GroupsProxy
impl PartialEq<GroupsProxy> for GroupsProxy
source§fn eq(&self, other: &GroupsProxy) -> bool
fn eq(&self, other: &GroupsProxy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for GroupsProxy
impl StructuralEq for GroupsProxy
impl StructuralPartialEq for GroupsProxy
Auto Trait Implementations§
impl RefUnwindSafe for GroupsProxy
impl Send for GroupsProxy
impl Sync for GroupsProxy
impl Unpin for GroupsProxy
impl UnwindSafe for GroupsProxy
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.