I have data as you can see in the terminal. I need it to be converted to the Excel sheet format as you can see in the Excel sheet file by creating multi-levels in columns.
I researched this and reached many different things but cannot achieve my goal then, I reached "transpose", and it gave me the shape that I need but unfortunately that it did reshape from a column to a row instead where I got the wrong data ordering.
Current result:

Desired result:

What can I try next?

cel1forpalyer==2,all values are0but your desired output you type 1, 3,10, 11, 12? inpalyer=10&cel=1?