dfr as for expression

Creates an alias expression.

WARNING

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

Signature

> dfr as {flags} (Alias name)

Parameters

  • Alias name: Alias name for the expression

Input/output types:

inputoutput
anyany

Examples

Creates and alias expression

> dfr col a | dfr as new_a | dfr into-nu
╭───────┬────────────────────╮
 ╭───────┬────────╮
 expr expr column
 value a
 ╰───────┴────────╯
 alias new_a
╰───────┴────────────────────╯