Line 1 is the CSV header, so the first data row is line 2 in the file. Reporting the real file line number lets an operator open the file and jump straight to the bad line.
OLOllieGrantOPreplies: 1
Ah, makes sense. Real line numbers for humans.
OLOliviaPy
Same, but it felt great to see summary.json saved at the end.
SOSophieDev
This is the "boss level" — CSV, validation, dicts, JSON output all in one. Took me two evenings.
JAJackStack
Stage 3 tip: build the summary dict first, print it to check, then json.dump() it.
Comments 5
Log in to join the discussion.
Log in Create accountLine 1 is the CSV header, so the first data row is line 2 in the file. Reporting the real file line number lets an operator open the file and jump straight to the bad line.
Ah, makes sense. Real line numbers for humans.
Same, but it felt great to see summary.json saved at the end.
This is the "boss level" — CSV, validation, dicts, JSON output all in one. Took me two evenings.
Stage 3 tip: build the summary dict first, print it to check, then
json.dump()it.