Trait polars_core::chunked_array::ops::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>> { ... }
}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.
Implementors
impl<T> ChunkAgg<<T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsNumericType,
T::Native: PartialOrd + Num + NumCast + Zero,