We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b49f9 commit 6c03279Copy full SHA for 6c03279
pandas/_libs/parsers.pyx
@@ -1355,7 +1355,6 @@ cdef class TextReader:
1355
coliter_t it
1356
const char *word = NULL
1357
const char *ch
1358
- bint found_float = False
1359
1360
coliter_setup(&it, self.parser, col, start)
1361
@@ -1371,14 +1370,10 @@ cdef class TextReader:
1371
1370
or ch[0] == b"e"
1372
or ch[0] == b"E")
1373
if token_indicates_float:
1374
- found_float = True
1375
- break
+ return True
1376
ch += 1
1377
1378
- if found_float:
1379
1380
-
1381
- return found_float
+ return False
1382
1383
# Factor out code common to TextReader.__dealloc__ and TextReader.close
1384
# It cannot be a class method, since calling self.close() in __dealloc__
0 commit comments