Skip to content

Commit 7be2e21

Browse files
authored
Clarify on_bad_lines PyArrow in read_csv (#58666)
Mention `invalid_row_handler` explicitly
1 parent a17d449 commit 7be2e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/parsers/readers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ class _read_shared(TypedDict, Generic[HashableT], total=False):
411411
If the function returns a new ``list`` of strings with more elements than
412412
expected, a ``ParserWarning`` will be emitted while dropping extra elements.
413413
- With ``engine='pyarrow'``, function with signature
414-
as described in `pyarrow documentation
414+
as described in pyarrow documentation: `invalid_row_handler
415415
<https://arrow.apache.org/docs/python/generated/pyarrow.csv.ParseOptions.html
416416
#pyarrow.csv.ParseOptions.invalid_row_handler>`_.
417417

0 commit comments

Comments
 (0)