Skip to content

Commit 970499d

Browse files
authored
fix errors docstrings pandas.to_numeric (#32354)
1 parent 54c5e9e commit 970499d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/tools/numeric.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def to_numeric(arg, errors="raise", downcast=None):
3535
Parameters
3636
----------
3737
arg : scalar, list, tuple, 1-d array, or Series
38+
Argument to be converted.
3839
errors : {'ignore', 'raise', 'coerce'}, default 'raise'
3940
- If 'raise', then invalid parsing will raise an exception.
4041
- If 'coerce', then invalid parsing will be set as NaN.
@@ -61,7 +62,8 @@ def to_numeric(arg, errors="raise", downcast=None):
6162
6263
Returns
6364
-------
64-
ret : numeric if parsing succeeded.
65+
ret
66+
Numeric if parsing succeeded.
6567
Return type depends on input. Series if Series, otherwise ndarray.
6668
6769
See Also

0 commit comments

Comments
 (0)