dfr select for lazyframe

Selects columns from lazyframe.

WARNING

Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe flag

Signature

> dfr select {flags} ...rest

Parameters

  • ...rest: Expression(s) that define the column selection

Input/output types:

inputoutput
anyany

Examples

Select a column from the dataframe

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