0

I have a df like this:

enter image description here

I want to make columns out of FYM values and rows from column ABC and XYZ. After the transformation the df should look like this:

enter image description here

Can anyone please help with how to do it in pandas.

Thanks in advance!

Pardeep Naik
  • 79
  • 10

0 Answers0