Skip to content

Get the root column names

Source code

Description

This returns the names of input columns. Use $meta$output_name() to get the name of output column.

Usage

<Expr>$meta$root_names()

Value

A character vector

Examples

library("polars")

e = (pl$col("alice") + pl$col("eve"))$alias("bob")
e$meta$root_names()
#> [1] "alice" "eve"