polars columns for dataframe
Show dataframe columns.
Signature
> polars columns {flags}
Input/output types:
| input | output |
|---|---|
| polars_dataframe | polars_dataframe |
| polars_lazyframe | polars_lazyframe |
Examples
Dataframe columns
> [[a b]; [1 2] [3 4]] | polars into-df | polars columns ╭───┬───╮ │ 0 │ a │ │ 1 │ b │ ╰───┴───╯
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/polars_columns.html