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.
2 parents 74df101 + d53ba13 commit 67857a1Copy full SHA for 67857a1
pandas/io/parsers.py
@@ -134,6 +134,14 @@
134
tupleize_cols: boolean, default False
135
Leave a list of tuples on columns as is (default is to convert to
136
a Multi Index on the columns)
137
+error_bad_lines: boolean, default True
138
+ Lines with too many fields (e.g. a csv line with too many commas) will by
139
+ default cause an exception to be raised, and no DataFrame will be returned.
140
+ If False, then these "bad lines" will dropped from the DataFrame that is
141
+ returned. (Only valid with C parser).
142
+warn_bad_lines: boolean, default True
143
+ If error_bad_lines is False, and warn_bad_lines is True, a warning for each
144
+ "bad line" will be output. (Only valid with C parser).
145
146
Returns
147
-------
0 commit comments