This is the current format the data frame is in. I would like to switch to to the panel data where the columns are: Country, Year and then columns which are at the moment the rows from the column named Column. How could I do so, simple transpose doesn't do the thing. Thank you for any help! Best, Jozef Polak
Asked
Active
Viewed 18 times
-2
-
Refer there https://stackoverflow.com/questions/47152691/how-can-i-pivot-a-dataframe?rq=1 – Nohman May 31 '22 at 14:28