You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When nan_as_null=False, we seem to raising an error saying there is mixed type of data:
Steps/Code to reproduce bug
In [1]: importcudfIn [2]: s=cudf.Series(["a", None])
In [3]: cudf.set_option("mode.pandas_compatible", True)
In [4]: ps=s.to_pandas()
In [5]: cudf.from_pandas(ps)
>/nvme/0/pgali/envs/cudfdev/lib/python3.11/site-packages/cudf/core/column/column.py(1958)as_column()
->raiseMixedTypeError(f"Cannot have NaN with {inferred_dtype}")
Expected behavior
We can error when we find string + nans but not when we find string + None's
The text was updated successfully, but these errors were encountered:
Describe the bug
When nan_as_null=False, we seem to raising an error saying there is mixed type of data:
Steps/Code to reproduce bug
Expected behavior
We can error when we find string + nans but not when we find string + None's
The text was updated successfully, but these errors were encountered: