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:

inputoutput
anyany

Examples

Returns the selected column

> [[a b]; [1 2] [3 4]] | polars into-df | polars get a
╭───┬───╮
 # │ a │
├───┼───┤
 0 1
 1 3
╰───┴───╯