I have a following DataFrame:
dis Country Price
0 0.8 US 500
1 0.8 England 1000
2 0.8 Spain 1500
3 0.8 Portugal 600
4 0.8 Germany 900
5 0.9 US 2200
6 0.9 England 3000
7 0.9 Spain 600
8 0.9 Portugal 1000
9 0.9 Germany 4000
Though I'd like to rearrange it in the following way:
dis US England Spain Portugal Germany
0.8 500 1000 1500 600 900
0.9 2200 3000 600 1000 4000
I'd be happy for some ideas how to solve this problem.