Skip to content

Commit 9f4c073

Browse files
DOC: fix SA01 for pandas.api.types.is_integer_dtype
1 parent e3bcd10 commit 9f4c073

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
@@ -121,7 +121,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
121121
-i "pandas.api.types.is_hashable PR01,RT03,SA01" \
122122
-i "pandas.api.types.is_int64_dtype SA01" \
123123
-i "pandas.api.types.is_integer PR01,SA01" \
124-
-i "pandas.api.types.is_integer_dtype SA01" \
125124
-i "pandas.api.types.is_interval_dtype SA01" \
126125
-i "pandas.api.types.is_iterator PR07,SA01" \
127126
-i "pandas.api.types.is_list_like SA01" \

pandas/core/dtypes/common.py

Lines changed: 9 additions & 0 deletions
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)