I need to transform row information into columns:
Transform
| COUNTRY | POPULATION |
1 | US | 330 |
2 | Canada | 38 |
3 | Mexico | 130 |
Into
COUNTRY_1 | POPULATION_1 | COUNTRY_2 | POPULATION_2 | COUNTRY_3 | POPULATION_3 |
US | 330 | Canada | 38 | Mexico | 130 |
Or just into
POPULATION_1 | POPULATION_2 | POPULATION_3 |
330 | 38 | 130 |