dfr quantile for lazyframe

Aggregates the columns to the selected quantile.

WARNING

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

Signature

> dfr quantile {flags} (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   │
├───┼──────┼──────┤
 0 4.00 2.00
╰───┴──────┴──────╯