dfr col for expression

Creates a named column expression.

WARNING

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

Signature

> dfr col {flags} (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
╭───────┬────────╮
 expr   column 
 value  a      
╰───────┴────────╯