polars arg-min for dataframe
Return index for min value in series.
Signature
> polars arg-min {flags}
Input/output types:
| input | output |
|---|---|
| polars_dataframe | polars_dataframe |
| polars_lazyframe | polars_lazyframe |
Examples
Returns index for min value
> [1 3 2] | polars into-df | polars arg-min ╭───┬─────────╮ │ # │ arg_min │ ├───┼─────────┤ │ 0 │ 0 │ ╰───┴─────────╯
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/polars_arg-min.html