Skip to content

Commit

Permalink
DOC: State that we support scalars in to_numeric (pandas-dev#24944)
Browse files Browse the repository at this point in the history
We support it and test it already.

xref pandas-devgh-24910.
  • Loading branch information
gfyoung authored and Pingviinituutti committed Feb 28, 2019
1 parent 7c8d77b commit 1c90b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/tools/numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def to_numeric(arg, errors='raise', downcast=None):
Parameters
----------
arg : list, tuple, 1-d array, or Series
arg : scalar, list, tuple, 1-d array, or Series
errors : {'ignore', 'raise', 'coerce'}, default 'raise'
- If 'raise', then invalid parsing will raise an exception
- If 'coerce', then invalid parsing will be set as NaN
Expand Down

0 comments on commit 1c90b85

Please sign in to comment.