Skip to content

BUG: MultiIndex.join losing dtype #49877

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

Merged
merged 11 commits into from
Nov 29, 2022
Merged

BUG: MultiIndex.join losing dtype #49877

merged 11 commits into from
Nov 29, 2022

Conversation

phofl
Copy link
Member

@phofl phofl commented Nov 23, 2022

Sits on top of #49847

@phofl phofl changed the title 49830 join BUG: MultiIndex.join losing dtype Nov 23, 2022
@phofl phofl added Reshaping Concat, Merge/Join, Stack/Unstack, Explode MultiIndex Bug labels Nov 23, 2022
Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Could you also add a combine_first unit test from the original issue as a smoke test? #49830 (comment)

@phofl
Copy link
Member Author

phofl commented Nov 28, 2022

Added the test

@mroeschke mroeschke added this to the 2.0 milestone Nov 29, 2022
@mroeschke mroeschke merged commit 7374a0d into pandas-dev:main Nov 29, 2022
@mroeschke
Copy link
Member

Thanks @phofl

@phofl phofl deleted the 49830_join branch November 30, 2022 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug MultiIndex Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: combine_first() coerces to object for MultiIndex and all-nan index columns
2 participants