dfr select for lazyframe

Selects columns from lazyframe.

Signature

> dfr select ...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 │
├───┼───┤
│ 06 │
│ 14 │
│ 22 │
╰───┴───╯

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