Reputation: 1142
I have a raw data like the following
using Pandas I need to reshape like the following
Raw data's first row is header here. I need to take first row of data (which is second row here) to combine with header and create a multiindex like format.
Can't figure out how to reshape into the required format. Can anyone suggest how to do this?
Upvotes: 0
Views: 22