Skip to content

Conversation

@felunka
Copy link
Contributor

@felunka felunka commented Sep 5, 2023

Fixes deprecation warning for pandas "is_categorical_dtype":
category_encoders/utils.py:50: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead

Check:
pandas-dev/pandas#33385

Replacing instances with the recommended alternative to use "isinstance"

@felunka
Copy link
Contributor Author

felunka commented Sep 5, 2023

Fixes #418

@PaulWestenthanner
Copy link
Collaborator

Thanks for updating!

@PaulWestenthanner PaulWestenthanner merged commit 80b4a9b into scikit-learn-contrib:master Sep 10, 2023
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