Skip to content

Commit

Permalink
Backport PR #45853: Fixing documentation format in read_csv (#45922)
Browse files Browse the repository at this point in the history
Co-authored-by: eshirvana <72626662+eshirvana@users.noreply.github.com>
  • Loading branch information
meeseeksmachine and eshirvana committed Feb 11, 2022
1 parent ebf024e commit f035290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/io/parsers/readers.py
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 f035290

Please sign in to comment.