pub enum TidyAgg {
Count,
Sum(String),
Mean(String),
Min(String),
Max(String),
Sd(String),
Var(String),
First(String),
Last(String),
NDistinct(String),
}Expand description
Aggregation functions for summarise().
Variants§
Count
Row count (no column argument).
Sum(String)
Kahan-compensated sum of a numeric column.
Mean(String)
Mean (NaN for empty groups).
Min(String)
Minimum value.
Max(String)
Maximum value.
Sd(String)
Sample standard deviation (Kahan-based).
Var(String)
Sample variance (Kahan-based).
First(String)
First row’s value.
Last(String)
Last row’s value.
NDistinct(String)
Count of distinct values.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TidyAgg
impl RefUnwindSafe for TidyAgg
impl Send for TidyAgg
impl Sync for TidyAgg
impl Unpin for TidyAgg
impl UnsafeUnpin for TidyAgg
impl UnwindSafe for TidyAgg
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