File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1518,7 +1518,7 @@ cdef object _try_infer_map(object dtype):
1518
1518
1519
1519
def infer_dtype (value: object , skipna: bool = True ) -> str:
1520
1520
"""
1521
- Return a string label of the type of a scalar or list-like of values .
1521
+ Return a string label of the type of the elements in a list-like input .
1522
1522
1523
1523
This method inspects the elements of the provided input and determines
1524
1524
classification of its data type. It is particularly useful for
@@ -1527,7 +1527,7 @@ def infer_dtype(value: object, skipna: bool = True) -> str:
1527
1527
1528
1528
Parameters
1529
1529
----------
1530
- value : scalar , list , ndarray , or pandas type
1530
+ value : list , ndarray , or pandas type
1531
1531
The input data to infer the dtype.
1532
1532
skipna : bool , default True
1533
1533
Ignore NaN values when inferring the type.
You can’t perform that action at this time.
0 commit comments