dfr quantile
for lazyframe
Aggregates the columns to the selected quantile.
Signature
> dfr quantile (quantile)
Parameters
quantile
: quantile value for quantile operation
Input/output types:
input | output |
---|---|
any | any |
Examples
quantile value from columns in a dataframe
> [[a b]; [6 2] [1 4] [4 1]] | dfr into-df | dfr quantile 0.5
╭───┬──────┬──────╮
│ # │ a │ b │
├───┼──────┼──────┤
│ 0 │ 4.00 │ 2.00 │
╰───┴──────┴──────╯
Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag