Sign inSign up free

1418. Combined: A Report From a Messy Export

hard 40 XP ~12 minHands-on lab Pro

/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 Pro

Part of Linux Incidents, Two Faults at a Time. Next step: Combined: Find the Attacker, Lock the Account

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Pro lab

Upgrade to open a machine for this problem.

See Pro