Exceptions#

ArrowError

deprecated will be removed.

ColumnNotFoundError

Exception raised when a specified column is not found.

ComputeError

Exception raised when polars could not finish the computation.

DuplicateError

Exception raised when a column name is duplicated.

InvalidOperationError

Exception raised when an operation is not allowed on a certain data type.

NoDataError

Exception raised when an operation can not be performed on an empty data structure.

NoRowsReturnedError

Exception raised when no rows are returned, but at least one row is expected.

PolarsPanicError

Exception raised when an unexpected state causes a panic in the underlying Rust library.

RowsError

Exception raised when the number of returned rows does not match expectation.

SchemaError

Exception raised when trying to combine data structures with mismatched schemas.

SchemaFieldNotFoundError

Exception raised when a specified schema field is not found.

ShapeError

Exception raised when trying to combine data structures with incompatible shapes.

StructFieldNotFoundError

Exception raised when a specified schema field is not found.

TooManyRowsReturnedError

Exception raised when more rows than expected are returned.