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