Skip to content

Commit 7c703fe

Browse files
committed
lint
1 parent a5821d3 commit 7c703fe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pandas/io/tests/parser/dtypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,6 @@ def test_dtype_with_converter(self):
223223
# dtype spec ignored if converted specified
224224
with tm.assert_produces_warning(ParserWarning):
225225
result = self.read_csv(StringIO(data), dtype={'a': 'i8'},
226-
converters={'a': lambda x: str(x)})
226+
converters={'a': lambda x: str(x)})
227227
expected = DataFrame({'a': ['1.1', '1.2'], 'b': [2.2, 2.3]})
228228
tm.assert_frame_equal(result, expected)

pandas/parser.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,8 @@ cdef class TextReader:
10691069

10701070
# Should return as the desired dtype (inferred or specified)
10711071
col_res, na_count = self._convert_tokens(
1072-
i, start, end, name, na_filter, na_hashset, na_flist, col_dtype)
1072+
i, start, end, name, na_filter, na_hashset,
1073+
na_flist, col_dtype)
10731074

10741075
if na_filter:
10751076
self._free_na_set(na_hashset)

0 commit comments

Comments
 (0)