-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Multiple warning about incompatible dtype casting, probably related to nan check #162
Comments
Hey @AndhikaWB , as seen in the logs - the warnings originate from Pandas. Which version do you use? |
@shakedzy v2.2.2, which I believe is the latest |
I see, I'll take a look |
Here's the real source of the data, in case the context is needed: https://www.kaggle.com/datasets/thedevastator/higher-education-predictors-of-student-retention The source I gave above only renamed the column name (I think) |
@AndhikaWB there's a fix ready on a branch: https://github.com/shakedzy/dython/tree/162-multiple-warning-about-incompatible-dtype-casting-probably-related-to-nan-check |
Fix merged, version 0.7.6 |
Version check:
Python 3.11.5, dython 0.7.5
Describe the bug:
astype('category')
this warning still appear, I think your script is assuming something wrong about the data type, hence the warning appearCode to reproduce:
Error message:
Error message:
Input data:
From here
The text was updated successfully, but these errors were encountered: