File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -462,11 +462,11 @@ cdef class TextReader:
462462 self .parser.commentchar = < char > ord (comment)
463463
464464 if isinstance (on_bad_lines, str ):
465- if on_bad_lines == ' error' :
465+ if on_bad_lines == " error" :
466466 c_on_bad_lines = ERROR
467- elif on_bad_lines == ' warn' :
467+ elif on_bad_lines == " warn" :
468468 c_on_bad_lines = WARN
469- elif on_bad_lines == ' skip' :
469+ elif on_bad_lines == " skip" :
470470 c_on_bad_lines = SKIP
471471 # Note: can add 'skip_with_log' here later when we work on logging
472472 else :
@@ -1482,7 +1482,7 @@ def _identify_bad_rows(values, dtype):
14821482 """
14831483 Identify the row indices when values cannot be converted to the intended target
14841484
1485- This can be used to find rows that should be skipped when on_bad_lines=' skip'
1485+ This can be used to find rows that should be skipped when on_bad_lines=" skip"
14861486
14871487 Parameters
14881488 ----------
You can’t perform that action at this time.
0 commit comments