dfr as for expression

Creates an alias expression.

Signature

> dfr as (Alias name)

Parameters

  • Alias name: Alias name for the expression

Examples

Creates and alias expression

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