title: Move pandas dataframe data from row to column
body: <p>I have a df like this:</p>
  <p><a href="https://i.stack.imgur.com/t4Gxl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t4Gxl.png" alt="enter image description here" /></a></p>
  <p>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:</p>
  <p><a href="https://i.stack.imgur.com/uvKRh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uvKRh.png" alt="enter image description here" /></a></p>
  <p>Can anyone please help with how to do it in pandas.</p>
  <p>Thanks in advance!</p>