logo

... csvkit.


Sometimes you don't need pandas to handle csv files. Sometimes you'd just move data around and wrangle it without a jupyter notebook. During these times you might like to know about csvkit. You can do light analysis, but also exchange with fileformats and databases.


Notes

The following commands are run in this video;

in2csv pokemon.csv | csvcut -c name,hp,attack | head -5
in2csv pokemon.csv | csvcut -c name,hp,attack | csvlook | head -5
in2csv pokemon.csv | csvcut -C name,hp,attack | head -5
in2csv pokemon.csv | csvcut -C 1-3 | head -5
in2csv pokemon.csv | csvcut -C 2-3 | head -5

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

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