pub enum StreamingAgg {
Count,
Sum(String),
Mean(String),
Min(String),
Max(String),
Var(String),
Sd(String),
}Expand description
Streamable aggregation operations. Subset of TidyAgg that admits
a constant-state per-group accumulator.
Variants§
Count
Row count per group.
Sum(String)
Kahan-sum of a numeric column.
Mean(String)
Arithmetic mean of a numeric column.
Min(String)
Minimum value (NaN-aware: NaN never wins).
Max(String)
Maximum value (NaN-aware: NaN never wins).
Var(String)
Sample variance via Welford’s algorithm (numerically stable).
Sd(String)
Sample standard deviation (sqrt of Var).
Trait Implementations§
Source§impl Clone for StreamingAgg
impl Clone for StreamingAgg
Source§fn clone(&self) -> StreamingAgg
fn clone(&self) -> StreamingAgg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StreamingAgg
impl RefUnwindSafe for StreamingAgg
impl Send for StreamingAgg
impl Sync for StreamingAgg
impl Unpin for StreamingAgg
impl UnsafeUnpin for StreamingAgg
impl UnwindSafe for StreamingAgg
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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