polars.exceptions.InvalidOperationError
-
Exception raised when an operation is not allowed (or possible) against a given object or data structure.
Examples
>>> s = pl.Series("a", [1, 2, 3]) >>> s.is_in(["x", "y"]) polars.exceptions.InvalidOperationError: `is_in` cannot check for String values in Int64 data
exception polars.exceptions.InvalidOperationError
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/api/polars.exceptions.InvalidOperationError.html