W3cubDocs

/Nushell

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 cola|dfr asnew_a|dfr into-nu
╭───────┬────────────────────╮
╭───────┬────────╮
exprexprcolumn
valuea
╰───────┴────────╯
aliasnew_a
╰───────┴────────────────────╯

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

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/dfr_as.html