def test_integer_thousands_alt(self): data = "123.456\n12.500" reader = TextFileReader(StringIO(data), delimiter=":", thousands=".", header=None) result = reader.read() expected = [123456, 12500] tm.assert_almost_equal(result[0], expected)
def test_integer_thousands_alt(self): data = '123.456\n12.500' reader = TextFileReader(StringIO(data), delimiter=':', thousands='.', header=None) result = reader.read() expected = DataFrame([123456, 12500]) tm.assert_frame_equal(result, expected)