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
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.

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