diff --git a/python/cudf/cudf/core/column/column.py b/python/cudf/cudf/core/column/column.py index 9c9b0fa5efb..dc4a547e61b 100644 --- a/python/cudf/cudf/core/column/column.py +++ b/python/cudf/cudf/core/column/column.py @@ -1952,7 +1952,9 @@ def as_column( cudf.get_option("mode.pandas_compatible") and inferred_dtype == "boolean" ): - raise MixedTypeError(f"Cannot have mixed values with {inferred_dtype}") + raise MixedTypeError( + f"Cannot have mixed values with {inferred_dtype}" + ) elif nan_as_null is False and ( any( (isinstance(x, (np.floating, float)) and np.isnan(x))