CSV (Comma-Separated Values)
A text format for tabular data: each row is a record, columns are separated by commas. It can be opened in Excel, Google Sheets, and any script.
Example
url,status,title
/product-1/,done,Cotton fabric
/product-2/,pending,Linen fabric
Why it is needed in automation
CSV is a simple 'tracker' for bulk operations:
- a list of products with processing statuses;
- publication history;
- inventory results;
- reports for manual verification.
It is easy to read and write from Python (module csv) and open in tables.
CSV vs JSON
| CSV | JSON | |
|---|---|---|
| Structure | Flat table | Nested |
| Readability | For tables | For machines |
| Suitable for | Trackers, reports | API, complex data |