使用 csvkit 轉換並預覽資料
csvkit 是為了處理 CSV 檔而撰寫的。因此,第一步要先把原始資料檔轉成 CSV 格式。
轉換之後,建議先快速查看檔案內容,做個基本檢查,確認一切正常。
本練習屬於課程
在 Shell 中進行資料處理
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Use ls to find the name of the zipped file
ls
# Use Linux's built in unzip tool to unpack the zipped file
unzip ___
# Check to confirm name and location of unzipped file
ls