pandas.io.parsers.TextFileReader.get_chunk

pandas 3.1.1 · Input and output · method

Read the next batch from a TextFileReader, optionally overriding the configured chunk size.

Call syntax

TextFileReader.get_chunk(size=None)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
size Optional
Positional or keyword
Default None
int

Returns

DataFrame