Rename a series
Description
Rename a series
Usage
<Series>$rename(name, in_place = FALSE)
Arguments
name
|
New name. |
in_place
|
Rename in-place, which breaks immutability. If TRUE , you
need to run options(polars.strictly_immutable = FALSE)
before, otherwise it will throw an error.
|
Value
Series
Examples
#> polars Series: shape: (4,)
#> Series: 'alice' [i32]
#> [
#> 1
#> 2
#> 3
#> 4
#> ]