polars arg-true for dataframe
Returns indexes where values are true.
Signature
> polars arg-true {flags}
Input/output types:
| input | output |
|---|---|
| polars_dataframe | polars_dataframe |
| polars_lazyframe | polars_lazyframe |
Examples
Returns indexes where values are true
> [false true false] | polars into-df | polars arg-true ╭───┬──────────╮ │ # │ arg_true │ ├───┼──────────┤ │ 0 │ 1 │ ╰───┴──────────╯
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/polars_arg-true.html