polars.Series.rename
-
Переименовать этот Series.
Псевдоним для
Series.alias().- Параметры:
-
- name
-
Новое имя.
Примеры
>>> s = pl.Series("a", [1, 2, 3]) >>> s.rename("b") shape: (3,) Series: 'b' [i64] [ 1 2 3 ]
Series.rename(
name: str_,
) → Series
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.rename.html