Skip to content
Advertisement

How to rearrange a CSV?

How to rearrange a CSV?

I’m trying to rearrange this data set into years so that:

JavaScript

becomes:

JavaScript

https://raw.githubusercontent.com/TheEconomist/big-mac-data/master/source-data/big-mac-source-data.csv

How can I do that?

Advertisement

Answer

Try (I used the data from your link and assumed which columns you need):

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement