Perfect! Before we wrap things up, we want to draw your attention to one particularly popular CSV format that is not available out of the box in Python: a semicolon-delimited dialect. You can create one yourself in the following way:
In the English language, we use dots (
.) as decimal separators, and CSV files typically look like this:
However, nearly all countries in Europe and South America use commas (
,) instead of periods for decimal delimiters. Thus, CSV files from these countries will typically use a semicolon as the delimiter:
It's good to be aware of this difference when working with lots of CSV data coming from various sources.