pandas.to_numeric - find out which string it was unable to parse : <p>Applying <code>pandas.to_numeric</code> to a dataframe column which contains strings that represent numbers (and possibly other unparsable strings) results in an error message like this:</p>

<pre><code>---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
&lt;ipython-input-66-07383316d7b6&gt; in &lt;module&gt;()
      1 for column in shouldBeNumericColumns:
----&gt; 2     trainData[column] = pandas.to_numeric(trainData[column])

/usr/local/lib/python3.5/site-packages/pandas/tools/util.py in to_numeric(arg, errors)
    113         try:
    114             values = lib.maybe_convert_numeric(values, set(),
--&gt; 115                                                coerce_numeric=coerce_numeric)
    116         except:
    117             if errors == 'raise':

pandas/src/inference.pyx in pandas.lib.maybe_convert_numeric (pandas/lib.c:53558)()

pandas/src/inference.pyx in pandas.lib.maybe_convert_numeric (pandas/lib.c:53344)()

ValueError: Unable to parse string
</code></pre>

<p>Wouldn't it be helpful to see which value failed to parse? </p>
