dfr col
for expression
Creates a named column expression.
Signature
> dfr col (column name)
Parameters
column name
: Name of column to be used
Input/output types:
input | output |
---|---|
any | any |
Examples
Creates a named column expression and converts it to a nu object
> dfr col a | dfr into-nu
╭───────┬────────╮
│ expr │ column │
│ value │ a │
╰───────┴────────╯
Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag