I have a dataframe like below:
NaN 1/1/2018 2/1/2018
item1 1 2
item2 3 4
I would like to transform the dataframe to make it look like this:
Date Item Price
1/1/2018 item1 1
1/1/2018 item2 3
2/1/2018 item1 2
2/1/2018 item2 4
I have tried df.pivot and df.t but neither works. Any suggestions or hints are very much appreciated!
Thanks!

df.stack().reset_index(), assuming thatitem1, item2is currently the index