Trait polars_core::chunked_array::ops::ChunkAgg
source · [−]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
sourcefn sum(&self) -> Option<T>
fn sum(&self) -> Option<T>
Aggregate the sum of the ChunkedArray.
Returns None
if the array is empty or only contains null values.