Skip to content

narwhals.exceptions

ColumnNotFoundError

Exception raised when column name isn't present.

ComputeError

Exception raised when the underlying computation could not be evaluated.

DuplicateError

Exception when duplicate column names are encountered.

InvalidIntoExprError

Exception raised when object can't be converted to expression.

InvalidOperationError

Exception raised during invalid operations.

MultiOutputExpressionError

Exception raised when using multi-output expression in unsupported context.

NarwhalsUnstableWarning

Warning issued when a method or function is considered unstable in the stable api.

ShapeError

Exception raised when trying to perform operations on data structures with incompatible shapes.

UnsupportedDTypeError

Exception raised when trying to convert to a DType which is not supported by the given backend.