Skip to content

Commit b0e892a

Browse files
DOC: fix ES01 for pandas.api.types.infer_dtype
1 parent e557039 commit b0e892a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/_libs/lib.pyx

+5
Original file line numberDiff line numberDiff line change
@@ -1522,6 +1522,11 @@ def infer_dtype(value: object, skipna: bool = True) -> str:
15221522
"""
15231523
Return a string label of the type of a scalar or list-like of values.
15241524

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+
15251530
Parameters
15261531
----------
15271532
value : scalar, list, ndarray, or pandas type

0 commit comments

Comments
 (0)