-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Fix bug, where BooleanDtype columns are converted to Int64 #32490
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: Fix bug, where BooleanDtype columns are converted to Int64 #32490
Conversation
…s_bool Merge remote-tracking branch 'upstream/master' into fix_convert_dtypes_bool
@AnnaDaglis do you think you'll have time to update this soon? We're hoping to get 1.0.2 out in the next couple days. If not, no problem, we'll just move it to the next release. |
Yes, right now, if the dtype is already an extension dtype, we don't want to change it (in the future, if there is eg a new nullable timestamp dtype, we might want to do this, but that is not yet relevant right now) |
Ha @AnnaDaglis I was just pushing the same changes here. Looks like we ran into the same issue with the Series.astype failing to copy. Mind if I push some commits here? I think I tracked it down. |
I might end up just force pushing to your branch if that's OK. It'll mess some things up but will be easiest I think. |
@TomAugspurger No problem! |
a302fb2
to
934147b
Compare
OK thanks! If you want to sync up, you can @jbrockmendel on master |
nice catch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tagging for 1.0.2 since this is NA related.
thanks @AnnaDaglis very nice! |
@meeseksdev backport 1.0.x |
@meeseeksdev backport 1.0.x |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
Huh, this seemingly wasn't backported, but the release notes are there... I'll do something manually. |
…s are converted to Int64
…erted to Int64 (#32660) Co-authored-by: Anna Daglis <[email protected]>
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff