dfr select
for lazyframe
Selects columns from lazyframe.
Signature
> dfr select ...rest
Parameters
...rest
: Expression(s) that define the column selection
Input/output types:
input | output |
---|---|
any | any |
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 │
╰───┴───╯
Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag