Parameters
FieldLabeledCSVReader also accepts the base Reader constructor parameters, except chunk and chunking_strategy. Chunking is disabled; each CSV row becomes one document.
Methods
read()
Reads a CSV file and returns one field-labeled document per row.
Open non-
Path inputs in binary mode (rb). The reader decodes the returned bytes with its configured encoding.
async_read()
The async variant of read(). It accepts the same parameters, plus: