0

How to convert columns into rows but with respect to specific column using python?

for example i have a data like this

enter image description here

and i want result like this.

enter image description here

I used melt, transpose and some other functions but they didn't solve my problem

  • `melt` looks like the right choice, but you're going to have to put more effort into your question for us to help you. What code have you tried? Why didn't it solve your problem? – Klox Nov 22 '22 at 18:26
  • Please provide enough code so others can better understand or reproduce the problem. – Сергей Кох Nov 23 '22 at 01:50

0 Answers0