I have the following table (as result of many steps) :
I want to get a result as below : as I need to transpose the table :