diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index 35227dcf6a82d..4858d56d71c42 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -381,6 +381,8 @@ .. versionadded:: 1.3.0 + .. versionadded:: 1.4.0 + - callable, function with signature ``(bad_line: list[str]) -> list[str] | None`` that will process a single bad line. ``bad_line`` is a list of strings split by the ``sep``. @@ -389,8 +391,6 @@ expected, a ``ParserWarning`` will be emitted while dropping extra elements. Only supported when ``engine="python"`` - .. versionadded:: 1.4.0 - delim_whitespace : bool, default False Specifies whether or not whitespace (e.g. ``' '`` or ``'\t'``) will be used as the sep. Equivalent to setting ``sep='\\s+'``. If this option