Skip to content

Commit a583653

Browse files
DOC: fix SA01 for pandas.api.types.is_interval_dtype
1 parent 2419343 commit a583653

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
119119
-i "pandas.api.types.is_hashable PR01,RT03,SA01" \
120120
-i "pandas.api.types.is_int64_dtype SA01" \
121121
-i "pandas.api.types.is_integer PR01,SA01" \
122-
-i "pandas.api.types.is_interval_dtype SA01" \
123122
-i "pandas.api.types.is_iterator PR07,SA01" \
124123
-i "pandas.api.types.is_list_like SA01" \
125124
-i "pandas.api.types.is_named_tuple PR07,SA01" \

pandas/core/dtypes/common.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,15 @@ def is_interval_dtype(arr_or_dtype) -> bool:
479479
boolean
480480
Whether or not the array-like or dtype is of the Interval dtype.
481481
482+
See Also
483+
--------
484+
api.types.is_object_dtype : Check whether an array-like or dtype is of the
485+
object dtype.
486+
api.types.is_numeric_dtype : Check whether the provided array or dtype is
487+
of a numeric dtype.
488+
api.types.is_categorical_dtype : Check whether an array-like or dtype is of
489+
the Categorical dtype.
490+
482491
Examples
483492
--------
484493
>>> from pandas.core.dtypes.common import is_interval_dtype

0 commit comments

Comments
 (0)