File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-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_bool PR01,SA01" \
127
126
-i " pandas.api.types.is_categorical_dtype SA01" \
128
127
-i " pandas.api.types.is_complex PR01,SA01" \
129
128
-i " pandas.api.types.is_complex_dtype SA01" \
Original file line number Diff line number Diff line change @@ -1123,10 +1123,21 @@ def is_bool(obj: object) -> bool:
1123
1123
"""
1124
1124
Return True if given object is boolean.
1125
1125
1126
+ Parameters
1127
+ ----------
1128
+ obj : object
1129
+ Object to check.
1130
+
1126
1131
Returns
1127
1132
-------
1128
1133
bool
1129
1134
1135
+ See Also
1136
+ --------
1137
+ api.types.is_scalar : Check if the input is a scalar.
1138
+ api.types.is_integer : Check if the input is an integer.
1139
+ api.types.is_float : Check if the input is a float.
1140
+
1130
1141
Examples
1131
1142
--------
1132
1143
>>> pd.api.types.is_bool(True )
You can’t perform that action at this time.
0 commit comments