From 2d7d58ab32a03c1e8326e316b4659b85e5273407 Mon Sep 17 00:00:00 2001 From: William Andrea <22385371+wjandrea@users.noreply.github.com> Date: Fri, 10 May 2024 14:05:25 -0400 Subject: [PATCH] Clarify on_bad_lines PyArrow in read_csv Mention `invalid_row_handler` explicitly --- pandas/io/parsers/readers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index c87912dc6f24a..dd4f8ccde680a 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -411,7 +411,7 @@ class _read_shared(TypedDict, Generic[HashableT], total=False): If the function returns a new ``list`` of strings with more elements than expected, a ``ParserWarning`` will be emitted while dropping extra elements. - With ``engine='pyarrow'``, function with signature - as described in `pyarrow documentation + as described in pyarrow documentation: `invalid_row_handler `_.