We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e557039 commit b0e892aCopy full SHA for b0e892a
pandas/_libs/lib.pyx
@@ -1522,6 +1522,11 @@ def infer_dtype(value: object, skipna: bool = True) -> str:
1522
"""
1523
Return a string label of the type of a scalar or list-like of values.
1524
1525
+ This method inspects the elements of the provided input and determines
1526
+ classification of its data type. It is particularly useful for
1527
+ handling heterogeneous data inputs where explicit dtype conversion may not
1528
+ be possible or necessary.
1529
+
1530
Parameters
1531
----------
1532
value : scalar, list, ndarray, or pandas type
0 commit comments