Trait polars::prelude::QuantileAggSeries
source · pub trait QuantileAggSeries {
// Required methods
fn median_reduce(&self) -> Scalar;
fn quantile_reduce(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Scalar, PolarsError>;
}
Required Methods§
sourcefn median_reduce(&self) -> Scalar
fn median_reduce(&self) -> Scalar
Get the median of the ChunkedArray
as a new Series
of length 1.
sourcefn quantile_reduce(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Scalar, PolarsError>
fn quantile_reduce( &self, _quantile: f64, _interpol: QuantileInterpolOptions ) -> Result<Scalar, PolarsError>
Get the quantile of the ChunkedArray
as a new Series
of length 1.