Skip to content

Commit f7e0e68

Browse files
authored
DOC: Fix versionadded for callable in on_bad_lines (pandas-dev#47792)
1 parent 9f5c8b9 commit f7e0e68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/parsers/readers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@
381381
382382
.. versionadded:: 1.3.0
383383
384+
.. versionadded:: 1.4.0
385+
384386
- callable, function with signature
385387
``(bad_line: list[str]) -> list[str] | None`` that will process a single
386388
bad line. ``bad_line`` is a list of strings split by the ``sep``.
@@ -389,8 +391,6 @@
389391
expected, a ``ParserWarning`` will be emitted while dropping extra elements.
390392
Only supported when ``engine="python"``
391393
392-
.. versionadded:: 1.4.0
393-
394394
delim_whitespace : bool, default False
395395
Specifies whether or not whitespace (e.g. ``' '`` or ``'\t'``) will be
396396
used as the sep. Equivalent to setting ``sep='\\s+'``. If this option

0 commit comments

Comments
 (0)