|
Vince's CSV Parser
|
This is the detailed documentation for Vince's CSV library. For quick examples, go to this project's GitHub page.
Dealing with Variable Length CSV Rows
An in-memory keyed table built from a csv::CSVReader. Supports O(1) key lookup, column extraction, editing, and grouping.
std::string)operator[](size_t) for integer-keyed DataFrames)size_t)std::vector<T>OVERWRITE or KEEP_FIRST)set_key_column(): Specify which column to use as the keyset_throw_on_missing_key(): Control exception behavior for missing keysSee "How does automatic delimiter detection work?"
See the implementation in csv::internals::_guess_format() — the source is the authoritative reference and is kept up to date.
This library already does a lot of work behind the scenes to use threads to squeeze performance from your CPU. However, ambitious users who are in the mood for experimenting should follow these guidelines:
CSVRow objects together and create separate threads to process each columncsv::CSVField objects