Spec-Zone.ru › Polars

polars.Series.count

Series.count() → int

Возвращает количество ненулевых элементов в столбце.

См. также

len

Примеры

>>> s = pl.Series("a", [1, 2, None])
>>> s.count()
2

© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.count.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API