danfo.streamCSV
Streams a CSV file from a local or remote location in chunks. Each intermediate chunk is passed as a DataFrame to the callback function.
danfo.streamCSV(filePath, callback, options)
Parameters | Type | Description |
---|---|---|
filePath | string | URL or local file path to CSV file. |
callback | Function | Callback function to be called once the specifed rows are parsed into DataFrame. |
options | object | Optional configuration object. Supports all Papaparse config options. |
The streamCSV function streams a CSV file from a local or remote location in chunks. Each intermediate chunk is passed as a DataFrame to the callback function.
Stream CSV file from local path
Stream CSV file from remote path
Last updated