ENH: Support malformed row handling in Python engine by gfyoung · Pull Request #15925 · pandas-dev/pandas (original) (raw)

Support warn_bad_lines and error_bad_lines for the Python engine.

xref #12686 (master tracker)

Inspired by #15910 (comment)

In addition, the Python parser now raises pandas.error.ParserError, which is in line with what the C engine would do.