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:

inputoutput
anyany

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   │
├───┼──────┼──────┤
│ 04.002.00 │
╰───┴──────┴──────╯

Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe flag