Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.api.types.is_hashable PR01,RT03,SA01" \
-i "pandas.api.types.is_int64_dtype SA01" \
-i "pandas.api.types.is_integer PR01,SA01" \
-i "pandas.api.types.is_interval_dtype SA01" \
-i "pandas.api.types.is_iterator PR07,SA01" \
-i "pandas.api.types.is_list_like SA01" \
-i "pandas.api.types.is_named_tuple PR07,SA01" \
Expand Down
9 changes: 9 additions & 0 deletions pandas/core/dtypes/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,15 @@ def is_interval_dtype(arr_or_dtype) -> bool:
boolean
Whether or not the array-like or dtype is of the Interval dtype.

See Also
--------
api.types.is_object_dtype : Check whether an array-like or dtype is of the
object dtype.
api.types.is_numeric_dtype : Check whether the provided array or dtype is
of a numeric dtype.
api.types.is_categorical_dtype : Check whether an array-like or dtype is of
the Categorical dtype.

Examples
--------
>>> from pandas.core.dtypes.common import is_interval_dtype
Expand Down
Loading