Skip to content

Commit

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

xref gh-24910.
  • Loading branch information
gfyoung authored and jorisvandenbossche committed Jan 26, 2019
1 parent 0c4113f commit d2fa4b4
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 d2fa4b4

Please sign in to comment.