CommencerCommencez gratuitement

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.

Cet exercice fait partie du cours

<cours>Data Processing in Shell</cours>
Voir le cours

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

# 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
Modifier et exécuter le code