Trait polars::chunked_array::object::ChunkAgg[][src]

pub trait ChunkAgg<T> {
    fn sum(&self) -> Option<T> { ... }
fn min(&self) -> Option<T> { ... }
fn max(&self) -> Option<T> { ... }
fn mean(&self) -> Option<f64> { ... }
fn median(&self) -> Option<f64> { ... }
fn quantile(&self, _quantile: f64) -> Result<Option<T>, PolarsError> { ... } }
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.

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

Aggregate a given quantile of the ChunkedArray. Returns None if the array is empty or only contains null values.

Implementors