Skip to content
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

remove unused dtype from MultiIndex constructor #60963

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

MarcoGorelli
Copy link
Member

@MarcoGorelli MarcoGorelli commented Feb 19, 2025

One possible fix for #60962

This could go through a deprecation warning, although anyone currently passing dtype to MultiIndex is already having their code (silently) not behave as intended. Keeping the parameter but raising an error wouldn't be any less breaking that removing the argument. Happy to take a different strategy if people prefer though

@WillAyd
Copy link
Member

WillAyd commented Feb 19, 2025

If no end user has ever complained about this I would be OK with removing as well. Can always add back at a later date if the need arises

@MarcoGorelli MarcoGorelli marked this pull request as ready for review February 19, 2025 23:55
@mroeschke mroeschke added this to the 3.0 milestone Feb 20, 2025
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.

Yeah I'm fine with this.

@mroeschke mroeschke merged commit ddcec67 into pandas-dev:main Feb 20, 2025
46 checks passed
@mroeschke
Copy link
Member

Thanks @MarcoGorelli

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.

BUG: dtype silently ignored in MultiIndex constructor
3 participants