Skip to content

Commit b31b8f8

Browse files
committed
DOC: Fix versionadded for callable in on_bad_lines (pandas-dev#47792)
1 parent 941efd2 commit b31b8f8

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
@@ -371,6 +371,8 @@
371371
372372
.. versionadded:: 1.3.0
373373
374+
.. versionadded:: 1.4.0
375+
374376
- callable, function with signature
375377
``(bad_line: list[str]) -> list[str] | None`` that will process a single
376378
bad line. ``bad_line`` is a list of strings split by the ``sep``.
@@ -379,8 +381,6 @@
379381
expected, a ``ParserWarning`` will be emitted while dropping extra elements.
380382
Only supported when ``engine="python"``
381383
382-
.. versionadded:: 1.4.0
383-
384384
delim_whitespace : bool, default False
385385
Specifies whether or not whitespace (e.g. ``' '`` or ``'\t'``) will be
386386
used as the sep. Equivalent to setting ``sep='\\s+'``. If this option

0 commit comments

Comments
 (0)