dfr arg-max for dataframe

Return index for max value in series.

WARNING

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

Signature

> dfr arg-max {flags}

Input/output types:

inputoutput
anyany

Examples

Returns index for max value

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