Skip to content

Conversation

MengAiDev
Copy link

  • Handle Categorical series and CategoricalDtype consistently in is_string_dtype
  • Add tests to verify consistent results for various Categorical scenarios

Fix: #62109

…rical

- Handle Categorical series and CategoricalDtype consistently in is_string_dtype
- Add tests to verify consistent results for various Categorical scenarios
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Sep 15, 2025
@mroeschke
Copy link
Member

Thanks for the PR, but discussion on the resolution just started in #62109 (comment) so I think a PR is a bit too early at this point so closing

@mroeschke mroeschke closed this Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: pd.api.types.is_string_dtype() returns inconsistent results for Categorical series vs dtype

2 participants