polars.Series.implode
-
Агрегирует значения в список.
Возвращаемый список сам является скалярным значением типа
list.Примеры
>>> s = pl.Series("a", [1, 2, 3]) >>> s.implode() shape: (1,) Series: 'a' [list[i64]] [ [1, 2, 3] ]
Series.implode() → Self
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.implode.html