Skip to content

Commit 0962007

Browse files
DOC: fix SA01 for pandas.api.types.is_interval_dtype (#59863)
1 parent a9e30c5 commit 0962007

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
@@ -115,7 +115,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
115115
-i "pandas.api.types.is_float PR01,SA01" \
116116
-i "pandas.api.types.is_hashable PR01,RT03,SA01" \
117117
-i "pandas.api.types.is_integer PR01,SA01" \
118-
-i "pandas.api.types.is_interval_dtype SA01" \
119118
-i "pandas.api.types.is_iterator PR07,SA01" \
120119
-i "pandas.api.types.is_list_like SA01" \
121120
-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
@@ -481,6 +481,15 @@ def is_interval_dtype(arr_or_dtype) -> bool:
481481
boolean
482482
Whether or not the array-like or dtype is of the Interval dtype.
483483
484+
See Also
485+
--------
486+
api.types.is_object_dtype : Check whether an array-like or dtype is of the
487+
object dtype.
488+
api.types.is_numeric_dtype : Check whether the provided array or dtype is
489+
of a numeric dtype.
490+
api.types.is_categorical_dtype : Check whether an array-like or dtype is of
491+
the Categorical dtype.
492+
484493
Examples
485494
--------
486495
>>> from pandas.core.dtypes.common import is_interval_dtype

0 commit comments

Comments
 (0)