pub trait ChunkAgg<T> {
fn sum(&self) -> Option<T> { ... }
fn min(&self) -> Option<T> { ... }
fn max(&self) -> Option<T> { ... }
fn mean(&self) -> Option<f64> { ... }
}
This is supported on crate feature
object
only.Expand description
Aggregation operations
Provided methods
Aggregate the sum of the ChunkedArray.
Returns None
if the array is empty or only contains null values.
Returns the maximum value in the array, according to the natural order.
Returns None
if the array is empty or only contains null values.
Implementors
impl ChunkAgg<u32> for ChunkedArray<BooleanType>
Booleans are casted to 1 or 0.