Enum polars::frame::group_by::GroupsProxy   
source · pub enum GroupsProxy {
    Idx(GroupsIdx),
    Slice {
        groups: Vec<[u32; 2]>,
        rolling: bool,
    },
}Available on crate feature 
algorithm_group_by only.Variants§
Implementations§
source§impl GroupsProxy
 
impl GroupsProxy
pub fn into_idx(self) -> GroupsIdx
pub fn iter(&self) -> GroupsProxyIter<'_> ⓘ
pub fn sort(&mut self)
pub fn take_group_firsts(self) -> Vec<u32>
sourcepub unsafe fn take_group_lasts(self) -> Vec<u32>
 
pub unsafe fn take_group_lasts(self) -> Vec<u32>
§Safety
This will not do any bounds checks. The caller must ensure all groups have members.
pub fn par_iter(&self) -> GroupsProxyParIter<'_>
sourcepub fn unwrap_idx(&self) -> &GroupsIdx
 
pub fn unwrap_idx(&self) -> &GroupsIdx
sourcepub fn unwrap_slice(&self) -> &Vec<[u32; 2]>
 
pub fn unwrap_slice(&self) -> &Vec<[u32; 2]>
pub fn get(&self, index: usize) -> GroupsIndicator<'_>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn group_count(&self) -> ChunkedArray<UInt32Type>
pub fn as_list_chunked(&self) -> ChunkedArray<ListType>
pub fn unroll(self) -> GroupsProxy
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§fn default() -> GroupsProxy
 
fn default() -> GroupsProxy
Returns the “default value” for a type. Read more
source§impl From<GroupsIdx> for GroupsProxy
 
impl From<GroupsIdx> for GroupsProxy
source§fn from(groups: GroupsIdx) -> GroupsProxy
 
fn from(groups: GroupsIdx) -> GroupsProxy
Converts to this type from the input type.
source§impl PartialEq for GroupsProxy
 
impl PartialEq 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 StructuralPartialEq for GroupsProxy
Auto Trait Implementations§
impl Freeze for GroupsProxy
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
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.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