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

fix: remove warning while using pandas is_categorical_dtype #1630

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

quant12345
Copy link
Contributor

@quant12345 quant12345 commented Jul 16, 2024

Contributes to #1501

This PR removes the warning:

DeprecationWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, pd.CategoricalDtype) instead
    not pdt.is_categorical_dtype(series)

…re version. Use isinstance(dtype, pd.CategoricalDtype)
@quant12345 quant12345 changed the title remove warning while using pandas is_categorical_dtype fix: remove warning while using pandas is_categorical_dtype Jul 18, 2024
Copy link
Contributor

@fabclmnt fabclmnt left a comment

Choose a reason for hiding this comment

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

🚀

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