使用 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