dfr drop
for dataframe
Creates a new dataframe by dropping the selected columns.
WARNING
Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag
Signature
> dfr drop {flags} ...rest
Parameters
...rest
: column names to be dropped
Input/output types:
input | output |
---|---|
any | any |
Examples
drop column a
> [[a b]; [1 2] [3 4]] | dfr into-df | dfr drop a
╭───┬───╮
│ # │ b │
├───┼───┤
│ 0 │ 2 │
│ 1 │ 4 │
╰───┴───╯