Skip to content

Commit af804a9

Browse files
authored
DOC: Add description to read_csv chunksize parameter regarding number of lines in chunk (#53836)
add description to read_csv chunksize parameter
1 parent 1cb9a6f commit af804a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/parsers/readers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@
293293
294294
``TextFileReader`` is a context manager.
295295
chunksize : int, optional
296-
Return ``TextFileReader`` object for iteration.
296+
Number of lines to read from the file per chunk. Passing a value will cause the
297+
function to return a ``TextFileReader`` object for iteration.
297298
See the `IO Tools docs
298299
<https://pandas.pydata.org/pandas-docs/stable/io.html#io-chunking>`_
299300
for more information on ``iterator`` and ``chunksize``.

0 commit comments

Comments
 (0)