I have a df like this:
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:
Can anyone please help with how to do it in pandas.
Thanks in advance!
I have a df like this:
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:
Can anyone please help with how to do it in pandas.
Thanks in advance!