polars.Series.ne_missing
-
Метод, эквивалентный оператору равенства
series != other, гдеNone == None.Это отличается от стандартного
ne, при котором распространяются значения null.- Параметры:
-
- other
-
Литерал или значение выражения для сравнения.
См. также
Примеры
>>> s1 = pl.Series("a", [333, 200, None]) >>> s2 = pl.Series("a", [100, 200, None]) >>> s1.ne(s2) shape: (3,) Series: 'a' [bool] [ true false null ] >>> s1.ne_missing(s2) shape: (3,) Series: 'a' [bool] [ true false false ]
Series.ne_missing(
other: Any,
) → Series | Expr
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.ne_missing.html