-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic: pl.from_pandas(pandas_series_with_categorical_dtype_having_None_value) #1686
Comments
this is result of "RUST_BACKTRACE=full"
|
This was referenced Nov 7, 2021
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you using Python or Rust?
Python.
Which feature gates did you use?
This can be ignored by Python users.
What version of polars are you using?
'0.10.15'
What operating system are you using polars on?
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Sep 16 20:58:47 PDT 2021; root:xnu-6153.141.40.1~1/RELEASE_X86_64
machine : x86_64
python : 3.9.7.final.0
python-bits : 64
pandas : 1.3.3
numpy : 1.21.1
Describe your bug.
pl.from_pandas is broken for pd.Series with categorical dtype and having None value.
What are the steps to reproduce the behavior?
What is the actual behavior?
If pd.NA is np.nan or None, the result is the same
If dtype is not category, it will be handled properly
What is the expected behavior?
None should be handled properly.
The text was updated successfully, but these errors were encountered: