Skip to content

BUG: reset_index doesn't preserve dtype on empty frame with MultiIndex #34942

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 1 commit into from
Jun 23, 2020

Conversation

rhshadrach
Copy link
Member

@pep8speaks
Copy link

pep8speaks commented Jun 23, 2020

Hello @rhshadrach! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-06-23 11:23:20 UTC

@jreback jreback added this to the 1.1 milestone Jun 23, 2020
@jreback jreback merged commit 9b4fd9b into pandas-dev:master Jun 23, 2020
@jreback
Copy link
Contributor

jreback commented Jun 23, 2020

very nice @rhshadrach keep em coming!

@rhshadrach rhshadrach deleted the reset_index_dtype branch July 11, 2020 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reset_index() on MultiIndexed empty dataframe does not preserve dtypes
3 participants