I would like to please ask your advice.
How can I transform the first dataframe into the second, below?
Continent, Country and Location are names of column ind