Skip to content

Commit

Permalink
Fixing documentation format in read_csv (pandas-dev#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 authored and phofl committed Feb 14, 2022
1 parent 54a79a2 commit eaee093
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 eaee093

Please sign in to comment.