dfr as for expression

Creates an alias expression.

Signature

> dfr as {flags} (Alias name)

Parameters

  • Alias name: Alias name for the expression

Input/output types:

input output
any any

Examples

Creates and alias expression

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

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