File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
123
123
-i " pandas.Timestamp.tzinfo GL08" \
124
124
-i " pandas.Timestamp.year GL08" \
125
125
-i " pandas.api.extensions.ExtensionArray.interpolate PR01,SA01" \
126
- -i " pandas.api.types.is_complex PR01,SA01" \
127
126
-i " pandas.api.types.is_complex_dtype SA01" \
128
127
-i " pandas.api.types.is_datetime64_dtype SA01" \
129
128
-i " pandas.api.types.is_datetime64_ns_dtype SA01" \
Original file line number Diff line number Diff line change @@ -1153,10 +1153,22 @@ def is_complex(obj: object) -> bool:
1153
1153
"""
1154
1154
Return True if given object is complex.
1155
1155
1156
+ Parameters
1157
+ ----------
1158
+ obj : object
1159
+ Object to check.
1160
+
1156
1161
Returns
1157
1162
-------
1158
1163
bool
1159
1164
1165
+ See Also
1166
+ --------
1167
+ api.types.is_complex_dtype: Check whether the provided array or
1168
+ dtype is of a complex dtype.
1169
+ api.types.is_number: Check if the object is a number.
1170
+ api.types.is_integer: Return True if given object is integer.
1171
+
1160
1172
Examples
1161
1173
--------
1162
1174
>>> pd.api.types.is_complex(1 + 1j)
You can’t perform that action at this time.
0 commit comments