Skip to content

Commit 2b37219

Browse files
DOC: fix SA01 for pandas.api.types.is_integer_dtype (pandas-dev#59803)
1 parent 6795787 commit 2b37219

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

ci/code_checks.sh

-1
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_integer_dtype SA01" \
123122
-i "pandas.api.types.is_interval_dtype SA01" \
124123
-i "pandas.api.types.is_iterator PR07,SA01" \
125124
-i "pandas.api.types.is_list_like SA01" \

pandas/core/dtypes/common.py

+9
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,15 @@ def is_integer_dtype(arr_or_dtype) -> bool:
694694
Whether or not the array or dtype is of an integer dtype and
695695
not an instance of timedelta64.
696696
697+
See Also
698+
--------
699+
api.types.is_integer : Return True if given object is integer.
700+
api.types.is_numeric_dtype : Check whether the provided array or dtype is of a
701+
numeric dtype.
702+
api.types.is_float_dtype : Check whether the provided array or dtype is of a
703+
float dtype.
704+
Int64Dtype : An ExtensionDtype for Int64Dtype integer data.
705+
697706
Examples
698707
--------
699708
>>> from pandas.api.types import is_integer_dtype

0 commit comments

Comments
 (0)