Trait polars_core::prelude::QuantileAggSeries

source ·
pub trait QuantileAggSeries {
    // Required methods
    fn median_reduce(&self) -> Scalar;
    fn quantile_reduce(
        &self,
        _quantile: f64,
        _interpol: QuantileInterpolOptions
    ) -> PolarsResult<Scalar>;
}

Required Methods§

source

fn median_reduce(&self) -> Scalar

Get the median of the ChunkedArray as a new Series of length 1.

source

fn quantile_reduce( &self, _quantile: f64, _interpol: QuantileInterpolOptions ) -> PolarsResult<Scalar>

Get the quantile of the ChunkedArray as a new Series of length 1.

Implementors§

source§

impl QuantileAggSeries for Float32Chunked

source§

impl QuantileAggSeries for Float64Chunked

source§

impl<T> QuantileAggSeries for ChunkedArray<T>
where T: PolarsIntegerType, T::Native: Ord, <T::Native as Simd>::Simd: Add<Output = <T::Native as Simd>::Simd> + Sum<T::Native>,