polars.Series.is_nan
-
Возвращает булеву Series, указывающую, какие значения являются NaN.
- Возвращает:
-
- Series
-
Series типа данных
Boolean.
Примеры
>>> import numpy as np >>> s = pl.Series("a", [1.0, 2.0, 3.0, np.nan]) >>> s.is_nan() shape: (4,) Series: 'a' [bool] [ false false false true ]
Series.is_nan() → 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_nan.html