Skip to content

Conversation

ianhi
Copy link
Contributor

@ianhi ianhi commented Sep 5, 2025

Reverting a problematic change from #10694 (@max-sixty )

The test I added failed on the latest release, and passes with these changes.


return pd.MultiIndex(
levels=level_list, codes=[list(c) for c in code_list], names=names
levels=level_list, # type: ignore[arg-type,unused-ignore]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think that the pandas stubs might be wrong here. They want a list of hashables, but a list of dtypes does work fine

@max-sixty max-sixty merged commit d2c9fd8 into pydata:main Sep 5, 2025
37 checks passed
@ianhi ianhi deleted the pd-dtypes branch September 5, 2025 19:43
@max-sixty
Copy link
Collaborator

thanks a lot @ianhi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants