クエスト 114Data Munging Boss
+500 XP
Boss Challenge 13: Data Pipeline Normalization
このクエストの対話型ターミナルを起動する→インストール不要 • ブラウザ上で完全動作
概念と概要
ETL DATA INCIDENT: A legacy mainframe exported /home/learner/messy_data.csv using unconventional formatting: fields are separated by colons and rows end with semicolons (alice:dev:engineering;).
The analytics ingestion engine rejects this format. Transform the file into clean CSV format at /home/learner/clean_users.csv, containing only the user and department (fields 1 and 3) separated by commas (alice,engineering), with semicolons stripped.
ミッションの手順
Process
/home/learner/messy_data.csv and write clean records into /home/learner/clean_users.csv formatted as name,dept without semicolons.コマンド構文リファレンス
| Command / Syntax | Description |
|---|---|
cat messy_data.csv | View raw delimited data |
awk / sed / cut / tr | Filter, translate delimiters, and cut fields |
> clean_users.csv | Write normalized data to output file |
検証目標
- ○Generate /home/learner/clean_users.csv with clean comma-separated name,dept records