polars.Expr.quantile

Expr.quantile(quantile: float, interpolation: str = 'nearest') polars.internals.expr.Expr

Get quantile value.

Parameters
quantile

quantile between 0.0 and 1.0

interpolation

interpolation type, options: [‘nearest’, ‘higher’, ‘lower’, ‘midpoint’, ‘linear’]