Get quantile value(s)
Description
Get quantile value(s)
Usage
<Expr>$quantile(
quantile,
interpolation = c("nearest", "higher", "lower", "midpoint", "linear")
)
Arguments
quantile
|
Quantile between 0.0 and 1.0. |
interpolation
|
Interpolation method. Must be one of “nearest” ,
“higher” , “lower” , “midpoint” ,
“linear” .
|
Value
A polars expression
Examples
#> shape: (1, 1)
#> ┌─────┐
#> │ a │
#> │ --- │
#> │ f64 │
#> ╞═════╡
#> │ 2.0 │
#> └─────┘
#> shape: (1, 1)
#> ┌─────┐
#> │ a │
#> │ --- │
#> │ f64 │
#> ╞═════╡
#> │ 2.0 │
#> └─────┘
#> shape: (1, 1)
#> ┌─────┐
#> │ a │
#> │ --- │
#> │ f64 │
#> ╞═════╡
#> │ 1.0 │
#> └─────┘
#> shape: (1, 1)
#> ┌─────┐
#> │ a │
#> │ --- │
#> │ f64 │
#> ╞═════╡
#> │ 1.5 │
#> └─────┘
#> shape: (1, 1)
#> ┌─────┐
#> │ a │
#> │ --- │
#> │ f64 │
#> ╞═════╡
#> │ 1.5 │
#> └─────┘