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_int64_dtype SA01" \
121
120
-i " pandas.api.types.is_integer PR01,SA01" \
Original file line number Diff line number Diff line change @@ -1275,6 +1275,9 @@ def is_float_dtype(arr_or_dtype) -> bool:
1275
1275
"""
1276
1276
Check whether the provided array or dtype is of a float dtype.
1277
1277
1278
+ The function checks for floating-point data types, which represent real numbers
1279
+ that may have fractional components.
1280
+
1278
1281
Parameters
1279
1282
----------
1280
1283
arr_or_dtype : array-like or dtype
@@ -1285,6 +1288,15 @@ def is_float_dtype(arr_or_dtype) -> bool:
1285
1288
boolean
1286
1289
Whether or not the array or dtype is of a float dtype.
1287
1290
1291
+ See Also
1292
+ --------
1293
+ api.types.is_numeric_dtype : Check whether the provided array or dtype is of
1294
+ a numeric dtype.
1295
+ api.types.is_integer_dtype : Check whether the provided array or dtype is of
1296
+ an integer dtype.
1297
+ api.types.is_object_dtype : Check whether an array-like or dtype is of the
1298
+ object dtype.
1299
+
1288
1300
Examples
1289
1301
--------
1290
1302
>>> from pandas.api.types import is_float_dtype
You can’t perform that action at this time.
0 commit comments