We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6a1ba commit af5ff18Copy full SHA for af5ff18
pandas/core/tools/numeric.py
@@ -55,9 +55,11 @@ def to_numeric(
55
"""
56
Convert argument to a numeric type.
57
58
- The default return dtype is `float64` or `int64`
+ If the input is already of a numeric dtype, the dtype will be preserved.
59
+ For non-numeric inputs, the default return dtype is `float64` or `int64`
60
depending on the data supplied. Use the `downcast` parameter
- to obtain other dtypes.
61
+ to obtain other dtypes. Numeric dtypes include all dtypes that have
62
+ the `_is_numeric` attribute set to `True`.
63
64
Please note that precision loss may occur if really large numbers
65
are passed in. Due to the internal limitations of `ndarray`, if
0 commit comments