Exceptions#
Errors#
Base class for all Polars errors. |
|
Exception raised when a specified column is not found. |
|
Exception raised when Polars could not perform an underlying computation. |
|
Exception raised when a column name is duplicated. |
|
Exception raised when an operation is not allowed (or possible) against a given object or data structure. |
|
Exception raised when a module is installed but needs to be upgraded. |
|
Exception raised when an operation cannot be performed on an empty data structure. |
|
Exception raised when no rows are returned, but at least one row is expected. |
|
Exception raised when the given index is out of bounds. |
|
Exception raised when the same parameter occurs multiple times. |
|
Exception raised when the number of returned rows does not match expectation. |
|
Exception raised when an error occurs in the SQL interface. |
|
Exception raised from the SQL interface when encountering invalid syntax. |
|
Exception raised when an unexpected schema mismatch causes an error. |
|
Exception raised when a specified schema field is not found. |
|
Exception raised when trying to perform operations on data structures with incompatible shapes. |
|
Exception raised when string caches come from different sources. |
|
Exception raised when a specified Struct field is not found. |
|
Exception raised when more rows than expected are returned. |
|
Exception raised when unsuitable SQL is given to a database method. |
Warnings#
Base class for all Polars warnings. |
|
Warning issued when a categorical needs to be remapped to be compatible with another categorical. |
|
Warning issued when a chrono format string contains dubious patterns. |
|
Warning issued when a custom ufunc is handled differently than numpy ufunc would. |
|
Warning issued to indicate row orientation was inferred from the inputs. |
|
Warning issued when |
|
Warning issued to indicate potential performance pitfalls. |
|
Warning issued when a potentially slow |
|
Warning issued when unstable functionality is used. |
Panic#
Exception raised when an unexpected state causes a panic in the underlying Rust library. |