Deprecation of `is_categorical_dtype` in pandas 2
Closed this issue · 1 comments
benjaminbauer commented
in version 0.5.0
with pandas 2.1.1
bioframe/core/specs.py:151: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
pd.api.types.is_categorical_dtype(chrom_dtype),
bioframe/bioframe/core/specs.py
Line 151 in c38fc72
nvictus commented
These were removed in v0.5.1.