Skip to content

Commit 4795e8c

Browse files
uds5501jreback
authored andcommitted
DOC: Adding clarification on return dtype of to_numeric (#21585)
1 parent dcc0857 commit 4795e8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/core/tools/numeric.py

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ def to_numeric(arg, errors='raise', downcast=None):
1616
"""
1717
Convert argument to a numeric type.
1818
19+
The default return dtype is `float64` or `int64`
20+
depending on the data supplied. Use the `downcast` parameter
21+
to obtain other dtypes.
22+
1923
Parameters
2024
----------
2125
arg : list, tuple, 1-d array, or Series

0 commit comments

Comments
 (0)