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 @@ -106,7 +106,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
106
106
-i " pandas.Timestamp.resolution PR02" \
107
107
-i " pandas.Timestamp.tzinfo GL08" \
108
108
-i " pandas.Timestamp.year GL08" \
109
- -i " pandas.api.types.is_float PR01,SA01" \
110
109
-i " pandas.api.types.is_integer PR01,SA01" \
111
110
-i " pandas.api.types.is_iterator PR07,SA01" \
112
111
-i " pandas.api.types.is_re_compilable PR07,SA01" \
Original file line number Diff line number Diff line change @@ -1089,9 +1089,23 @@ def is_float(obj: object) -> bool:
1089
1089
"""
1090
1090
Return True if given object is float.
1091
1091
1092
+ This method checks whether the passed object is a float type. It
1093
+ returns `True` if the object is a float , and `False` otherwise.
1094
+
1095
+ Parameters
1096
+ ----------
1097
+ obj : object
1098
+ The object to check for float type.
1099
+
1092
1100
Returns
1093
1101
-------
1094
1102
bool
1103
+ `True` if the object is of float type , otherwise `False`.
1104
+
1105
+ See Also
1106
+ --------
1107
+ api.types.is_integer : Check if an object is of integer type.
1108
+ api.types.is_numeric_dtype : Check if an object is of numeric type.
1095
1109
1096
1110
Examples
1097
1111
--------
You can’t perform that action at this time.
0 commit comments