

def test_list(self):
    s = ['1', '-3.14', '7']
    res = to_numeric(s)
    expected = np.array([1, (- 3.14), 7])
    tm.assert_numpy_array_equal(res, expected)

dataset/ETHPy150Open pydata/pandas/pandas/tools/tests/test_util.py TestToNumeric.test_list/original