Skip to content

Change name of Series

Source code

Description

Change name of Series

Usage

<Series>$alias(name)

Arguments

name New name.

Value

Series

Examples

library("polars")

as_polars_series(1:3, name = "alice")$alias("bob")
#> polars Series: shape: (3,)
#> Series: 'bob' [i32]
#> [
#>  1
#>  2
#>  3
#> ]