polars.Series.clone
-
Создать копию этого Series.
Это быстрая операция, которая не копирует данные.
См. также
-
clear -
Создать пустую копию текущего Series с идентичной схемой, но без данных.
Примеры
>>> s = pl.Series("a", [1, 2, 3]) >>> s.clone() shape: (3,) Series: 'a' [i64] [ 1 2 3 ] -
Series.clone() → Self
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.clone.html