Extract data from a CSV data source for populating a Frame.
Extract data from a CSV data source for populating a Frame.
For example,
val src = < some CsvSource > val data = CsvParser.parse(CsvParser.parseInt)(src) ... data.toFrame data.toFrameNoHeader
The result type of the parsing function
A callback for token conversion; convert from String => T
The column offsets to parse (if empty, parse everything)
The CsvParams to utilize in parsing
The csv data source to operate on
Extract data from a CSV data source in parallel, producing data for creating a Frame.
Extract data from a CSV data source in parallel, producing data for creating a Frame.
For example,
val f = CsvFile("tmp.csv") val data = CsvParser.parsePar(CsvParser.parseInt)(f) ... data.toFrame
The result type of the parsing function
A callback for token conversion; convert from String => T
The column offsets to parse (if empty, parse everything)
The CsvParams to utilize in parsing
Csv parsing utilities