scikit-learn-contrib / category_encoders

A library of sklearn compatible categorical variable encoders
http://contrib.scikit-learn.org/category_encoders/
BSD 3-Clause "New" or "Revised" License
2.41k stars 395 forks source link

Support Pandas 2.1 #418

Closed celestinoxp closed 1 year ago

celestinoxp commented 1 year ago

WARNING:C:\Users\username\anaconda3\lib\site-packages\category_encoders\utils.py:50: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead return pd.api.types.is_categorical_dtype(dtype)

Windows x64 Python 3.10 scikit-learn 1.3 pandas 2.1

PaulWestenthanner commented 1 year ago

fixed by #419