dfr arg-max
for dataframe
Return index for max value in series.
Signature
> dfr arg-max
Input/output types:
input | output |
---|---|
any | any |
Examples
Returns index for max value
> [1 3 2] | dfr into-df | dfr arg-max
╭───┬─────────╮
│ # │ arg_max │
├───┼─────────┤
│ 0 │ 1 │
╰───┴─────────╯
Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag