

def test_series(self):
    s = pd.Series(['1', '-3.14', '7'])
    res = to_numeric(s)
    expected = pd.Series([1, (- 3.14), 7])
    tm.assert_series_equal(res, expected)
    s = pd.Series(['1', '-3.14', 7])
    res = to_numeric(s)
    tm.assert_series_equal(res, s)

dataset/ETHPy150Open pydata/pandas/pandas/tools/tests/test_util.py TestToNumeric.test_series/VarMisuse@87/110 `expected`->`s`