pub trait ChunkAgg<T> {
    fn sum(&self) -> Option<T> { ... }
    fn min(&self) -> Option<T> { ... }
    fn max(&self) -> Option<T> { ... }
    fn mean(&self) -> Option<f64> { ... }
}
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.

Returns the mean value in the array. Returns None if the array is empty or only contains null values.

Implementors§

Booleans are casted to 1 or 0.