Aggregate the columns to a unique quantile value
Description
Aggregate the columns to a unique quantile value
Usage
<DataFrame>$quantile(
quantile,
interpolation = c("nearest", "higher", "lower", "midpoint", "linear")
)
Arguments
quantile
|
Quantile between 0.0 and 1.0. |
interpolation
|
Interpolation method. |
Value
A polars DataFrame
Examples
#> shape: (1, 2)
#> ┌─────┬─────┐
#> │ a ┆ b │
#> │ --- ┆ --- │
#> │ f64 ┆ f64 │
#> ╞═════╪═════╡
#> │ 3.0 ┆ 1.0 │
#> └─────┴─────┘