-
Notifications
You must be signed in to change notification settings - Fork 117
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
Bug: Many to Many relational keys converts to floats. #93
Comments
Indeed the null entry seems to be the reason for the float conversion. It might be possible to fix this by changing the many-to-many column datatype to See also the pandas docs about nullable integer data type. |
@ckoerber, yes, I can convert. But for me, it seems strange that when the column doesn't have null, then it will have an integer type, and float when a column contains null values. |
@hyzyla, yes the E.g.,
vs
This should be present in |
Thanks, I will try make PR for fixing this |
I have model Status and Station, that have many to many relations.
Following command:
returns:
Keys must be integers, not floats. It seems like null converts all values in a column into floats.
The text was updated successfully, but these errors were encountered: