Skip to content

Commit

Permalink
Fixing documentation format in read_csv (#45853)
Browse files Browse the repository at this point in the history
add a mising ` in on_bad_lines option description in " New in version 1.3.0: " section , that was causing to make couple of lines red
  • Loading branch information
eshirvana committed Feb 7, 2022
1 parent 4558e7d commit a0779ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/io/parsers/readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
- 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``.
If the function returns ``None`, the bad line will be ignored.
If the function returns ``None``, the bad line will be ignored.
If the function returns a new list of strings with more elements than
expected, a ``ParserWarning`` will be emitted while dropping extra elements.
Only supported when ``engine="python"``
Expand Down

0 comments on commit a0779ad

Please sign in to comment.