pub trait QuantileAggSeries {
// Required methods
fn median_reduce(&self) -> Scalar;
fn quantile_reduce(
&self,
quantile: f64,
method: QuantileMethod,
) -> Result<Scalar, PolarsError>;
fn quantiles_reduce(
&self,
_quantiles: &[f64],
_method: QuantileMethod,
) -> 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,
method: QuantileMethod,
) -> Result<Scalar, PolarsError>
fn quantile_reduce( &self, quantile: f64, method: QuantileMethod, ) -> Result<Scalar, PolarsError>
Get the quantile of the ChunkedArray as a new Series of length 1.
Sourcefn quantiles_reduce(
&self,
_quantiles: &[f64],
_method: QuantileMethod,
) -> Result<Scalar, PolarsError>
fn quantiles_reduce( &self, _quantiles: &[f64], _method: QuantileMethod, ) -> Result<Scalar, PolarsError>
Get the quantiles of the ChunkedArray as a new Series of same length as quantiles
Implementors§
impl QuantileAggSeries for ChunkedArray<Float16Type>
Available on crate feature
dtype-f16 only.