lesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the joblesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the joblesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the joblesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the joblesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the joblesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the joblesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the joblesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the joblesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the joblesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the joblesson 1 of 5 · csv, jsonl, parquet - which file earns the jobcsv, jsonl, parquet - which file earns the job
This parser hand-rolls CSV with line.split(",") — and a comma inside a quoted value shreds the row into 4 fields. Fix it to use the csv module so the quoted field survives intact (3 fields).
The break is on line 3 — but read the whole snippet first.