Skip to content

Commit a7943c6

Browse files
gfyoungPingviinituutti
authored andcommitted
DOC: State that we support scalars in to_numeric (pandas-dev#24944)
We support it and test it already. xref pandas-devgh-24910.
1 parent 6d18c14 commit a7943c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/tools/numeric.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def to_numeric(arg, errors='raise', downcast=None):
2121
2222
Parameters
2323
----------
24-
arg : list, tuple, 1-d array, or Series
24+
arg : scalar, list, tuple, 1-d array, or Series
2525
errors : {'ignore', 'raise', 'coerce'}, default 'raise'
2626
- If 'raise', then invalid parsing will raise an exception
2727
- If 'coerce', then invalid parsing will be set as NaN

0 commit comments

Comments
 (0)