CSVLoader#
- class CSVLoader(config)#
Bases:
Loader
The CSV
Loader
loads CSV files and transforms the data intoDocument
items.- Parameters:
Example
{ "step": "loader", "type": "csv", "fields": [ "text", "label" ] }
Methods Summary
process
(directory)Process a directory of csv files and yield documents.
Methods Documentation