I have the following data in a .csv file:
I need to reshape the above mentioned data into the following format:
Can someone kindly explain how can I do that? I have an idea it can be done using df.pivot() function, however, the dates are in the 'headings' of the original format, which is confusing me a bit.
I shall be grateful for the help.
Thank you