I have following csv file:
I want to transform that into this one:
Is there a simple pandas oneliner that can do that kind of transformations?