Hi,
I have a sub-set of my larger dataset with the following format:
I want it to look like this:
I tried using reshape but I wasn't able to keep the country names as values in a new variable. Is it possible to reshape the data like this?
Many thanks!
I have a sub-set of my larger dataset with the following format:
| country1 | country2 | country3 | country4 | country5 |
| 0.05 | 0.32 | 0.01 | -0.32 | -0.45 |
| Country | value |
| country1 | 0.05 |
| country2 | 0.32 |
| country3 | 0.01 |
| country4 | -0.32 |
| country5 | -0.45 |
Many thanks!

Comment