dfr median for lazyframe

Aggregates columns to their median value

WARNING

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

Signature

> dfr median {flags}

Input/output types:

inputoutput
anyany

Examples

Median value from columns in a dataframe

> [[a b]; [6 2] [4 2] [2 2]] | dfr into-df | dfr median
╭───┬──────┬──────╮
 # │  a   │  b   │
├───┼──────┼──────┤
 0 4.00 2.00
╰───┴──────┴──────╯