polars get for dataframe
Creates dataframe with the selected columns.
Signature
> polars get {flags} ...rest
Parameters
-
...rest: Column names to sort dataframe.
Input/output types:
| input | output |
|---|---|
| polars_dataframe | polars_dataframe |
| polars_lazyframe | polars_lazyframe |
Examples
Returns the selected column
> [[a b]; [1 2] [3 4]] | polars into-df | polars get a ╭───┬───╮ │ # │ a │ ├───┼───┤ │ 0 │ 1 │ │ 1 │ 3 │ ╰───┴───╯
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/polars_get.html