Skip to content

Commit

Permalink
Remove deprecated is_categorical_dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Oct 6, 2023
1 parent 231f8d3 commit 42e90b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioframe/core/specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,6 @@ def is_chrom_dtype(chrom_dtype):
[
pd.api.types.is_string_dtype(chrom_dtype),
pd.api.types.is_object_dtype(chrom_dtype),
pd.api.types.is_categorical_dtype(chrom_dtype),
isinstance(chrom_dtype, pd.api.types.CategoricalDtype),
]
)

0 comments on commit 42e90b9

Please sign in to comment.