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:

inputoutput
anyany

Examples

Creates a named column expression and converts it to a nu object

> dfr col a | dfr into-nu
╭───────┬────────╮
│ exprcolumn │
│ value │ a      │
╰───────┴────────╯

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