Skip to content

pandasx / readCsvChunks

Function: readCsvChunks() ​

readCsvChunks(source, options): AsyncGenerator<DataFrame>

Defined in: src/io/csv.ts:103

Streams a CSV file (or URL) and yields DataFrames of chunksize rows without loading the whole file, decompressing on the fly.

Parameters ​

ParameterType
sourcestring | URL
optionsReadCsvOptions & object

Returns ​

AsyncGenerator<DataFrame>

Released under the MIT License.