logo

... csvkit: converting



Notes

This tool might be one of those tools that you might want to have in your global environment but you can also install it in a virtual environment. To install csvkit, run the following;

pip install csvkit

To download the datasets that we'll use, just run;

wget https://calmcode.io/datasets/pokemon.json
wget https://calmcode.io/datasets/pokemon.xlsx

The following commands are run in this video;

in2csv pokemon.json | head
in2csv pokemon.json > pokemon.csv
in2csv pokemon.xlsx

Feedback? See an issue? Something unclear? Feel free to mention it here.



If you want to be kept up to date, consider signing up for the newsletter.