Euromonitor interview question

Live code- data wrangling on python/r