danfo.streamJSON
Streams a JSON file from a local or remote location in chunks. Each intermediate chunk is passed as a DataFrame to the callback function.
danfo.streamJSON(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. We use the |
The streamJSON function streams a JSON file from a local or remote location in chunks. Each intermediate chunk is passed as a DataFrame to the callback function.
Stream JSON file from local path
Stream JSON file from remote path
Last updated