dfr drop for dataframe

Creates a new dataframe by dropping the selected columns.

Signature

> dfr drop ...rest

Parameters

  • ...rest: column names to be dropped

Input/output types:

inputoutput
anyany

Examples

drop column a

> [[a b]; [1 2] [3 4]] | dfr into-df | dfr drop a
╭───┬───╮
│ # │ b │
├───┼───┤
│ 02 │
│ 14 │
╰───┴───╯

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