📄Comma-Separated Values (CSV)
Also known as CSV, CSV file
A table in plain text. Each row is one line, and commas split the columns.
Think of it like
Think of it like a table drawn with commas instead of lines. Each row is a line, and commas split the boxes.
Example
Lucy exports her shop's 1,200 orders as a CSV file. Her accountant opens it straight away in a spreadsheet.
Why it matters
CSV is the easiest way to move a table between programs. Almost everything can read it.
Definition
Example code
csv
name,age
Ada,36
Sam,29Common mistake
Key takeaways
- 1One row per line. Commas split the columns.
- 2Header first. The top line names the columns.
- 3No types. Everything is read as text.