File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
85
85
-i " pandas.Timestamp.resolution PR02" \
86
86
-i " pandas.Timestamp.tzinfo GL08" \
87
87
-i " pandas.Timestamp.year GL08" \
88
- -i " pandas.api.types.is_integer PR01,SA01" \
89
88
-i " pandas.api.types.is_iterator PR07,SA01" \
90
89
-i " pandas.api.types.is_re_compilable PR07,SA01" \
91
90
-i " pandas.api.types.pandas_dtype PR07,RT03,SA01" \
Original file line number Diff line number Diff line change @@ -1122,9 +1122,23 @@ def is_integer(obj: object) -> bool:
1122
1122
"""
1123
1123
Return True if given object is integer.
1124
1124
1125
+ This method checks whether the passed object is an integer type. It
1126
+ returns `True` if the object is an integer , and `False` otherwise.
1127
+
1128
+ Parameters
1129
+ ----------
1130
+ obj : object
1131
+ The object to check for integer type.
1132
+
1125
1133
Returns
1126
1134
-------
1127
1135
bool
1136
+ `True` if the object is of integer type , otherwise `False`.
1137
+
1138
+ See Also
1139
+ --------
1140
+ api.types.is_float : Check if an object is of float type.
1141
+ api.types.is_numeric_dtype : Check if an object is of numeric type.
1128
1142
1129
1143
Examples
1130
1144
--------
You can’t perform that action at this time.
0 commit comments