MulaiMulai sekarang secara gratis

Converting and previewing data with csvkit

csvkit is written to process only CSV files. Therefore, the first thing we do is to convert our raw data file into CSV format.

After conversion, it's good practice to take a quick peak into the content of the file for a quick sanity check.

Latihan ini adalah bagian dari kursus

Data Processing in Shell

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# 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
Edit dan Jalankan Kode