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 @@ -115,7 +115,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
115
115
-i " pandas.api.types.is_dict_like PR07,SA01" \
116
116
-i " pandas.api.types.is_file_like PR07,SA01" \
117
117
-i " pandas.api.types.is_float PR01,SA01" \
118
- -i " pandas.api.types.is_float_dtype SA01" \
119
118
-i " pandas.api.types.is_hashable PR01,RT03,SA01" \
120
119
-i " pandas.api.types.is_integer PR01,SA01" \
121
120
-i " pandas.api.types.is_interval_dtype SA01" \
Original file line number Diff line number Diff line change @@ -1285,6 +1285,9 @@ def is_float_dtype(arr_or_dtype) -> bool:
1285
1285
"""
1286
1286
Check whether the provided array or dtype is of a float dtype.
1287
1287
1288
+ The function checks for floating-point data types, which represent real numbers
1289
+ that may have fractional components.
1290
+
1288
1291
Parameters
1289
1292
----------
1290
1293
arr_or_dtype : array-like or dtype
@@ -1295,6 +1298,15 @@ def is_float_dtype(arr_or_dtype) -> bool:
1295
1298
boolean
1296
1299
Whether or not the array or dtype is of a float dtype.
1297
1300
1301
+ See Also
1302
+ --------
1303
+ api.types.is_numeric_dtype : Check whether the provided array or dtype is of
1304
+ a numeric dtype.
1305
+ api.types.is_integer_dtype : Check whether the provided array or dtype is of
1306
+ an integer dtype.
1307
+ api.types.is_object_dtype : Check whether an array-like or dtype is of the
1308
+ object dtype.
1309
+
1298
1310
Examples
1299
1311
--------
1300
1312
>>> from pandas.api.types import is_float_dtype
You can’t perform that action at this time.
0 commit comments