Trait polars_core::prelude::ChunkAggSeries [−][src]
pub trait ChunkAggSeries {
fn sum_as_series(&self) -> Series { ... }
fn max_as_series(&self) -> Series { ... }
fn min_as_series(&self) -> Series { ... }
fn mean_as_series(&self) -> Series { ... }
fn median_as_series(&self) -> Series { ... }
fn quantile_as_series(&self, _quantile: f64) -> Result<Series> { ... }
}
Expand description
Aggregations that return Series of unit length. Those can be used in broadcasting operations.
Provided methods
fn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
Get the sum of the ChunkedArray as a new Series of length 1.
fn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
Get the max of the ChunkedArray as a new Series of length 1.
fn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
Get the min of the ChunkedArray as a new Series of length 1.
fn mean_as_series(&self) -> Series
fn mean_as_series(&self) -> Series
Get the mean of the ChunkedArray as a new Series of length 1.
fn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
Get the median of the ChunkedArray as a new Series of length 1.
fn quantile_as_series(&self, _quantile: f64) -> Result<Series>
fn quantile_as_series(&self, _quantile: f64) -> Result<Series>
Get the quantile of the ChunkedArray as a new Series of length 1.
Implementors
impl ChunkAggSeries for CategoricalChunked
This is supported on crate feature
dtype-categorical
only.