Combined: A Report From a Messy Export
/srv/lab/orders-export.csv comes from a spreadsheet: a header line, then order_id,region,amount. Finance wants total sales per region. The file wasn't made with scripts in mind: it starts with a byte-order mark, uses Windows line endings, the region names aren't written consistently (EU, eu, Eu ), and the export repeated some rows (same order_id).
This is a Pro problem
Pro unlocks every lab and quiz, all roadmaps and a full daily plan.
Unlock with ProTeaching or writing about this? Embed this lab on your page