I have a csv having data like :
I want only the last two columns to be somewhat like transposed like below :
Im using pandas to read in the csv and what the output dataframe to be as above.
Im not sure if we can pivot only specific columns as I want this only applied to last two columns , also I think pivot kind of aggregates the data under same column which i dont want.