Skip to content

Rename Expr output

Source code

Description

Rename the output of an expression.

Usage

<Expr>$alias(name)

Arguments

name New name of output

Value

Expr

Examples

library("polars")

pl$col("bob")$alias("alice")
#> polars Expr: col("bob").alias("alice")