polars.quantile#

polars.quantile(column: str, quantile: float, interpolation: RollingInterpolationMethod = 'nearest') Expr[source]#

Syntactic sugar for pl.col(“foo”).quantile(..).

Parameters:
column

Column name.

quantile

Quantile between 0.0 and 1.0.

interpolation{‘nearest’, ‘higher’, ‘lower’, ‘midpoint’, ‘linear’}

Interpolation method.