I am facing a problem in transposing column to rows,
Here is the sample data pattern having number of column:
gender | Maths | English | science
----------------------------------
Male | 20 | 89 | 59
Female | 70 | 56 | 79
I would like to transpose it to below format
Subject | Male | Female
------------------------
Maths | 20 | 70
English | 89 | 56
Science | 59 | 79