dfr arg-max for dataframe

Return index for max value in series.

Signature

> dfr arg-max

Input/output types:

inputoutput
anyany

Examples

Returns index for max value

> [1 3 2] | dfr into-df | dfr arg-max
╭───┬─────────╮
│ # │ arg_max │
├───┼─────────┤
│ 01 │
╰───┴─────────╯

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