[ad_1]
My pandas dataframe comes out as:
BURNED CALORIES
Date 00 – 01 01 – 02 02 – 03 …. 23 – 24
1/13/19 17.6 11.53 3.24 28.6
1/14/19 1.5 1.46 2.41 27.44
The top row is the hourly breakdown but the only column is Burned Calories over the 23-24 hour column. I feel as though I need to pivot it but I can’t pull the Date column as an actual column. Any suggestions? Ideally, I would like to create a timeseries and play with hourly data.
This is what I would like to get to:
Date Hour Burned Calories
Thank you!!
[ad_2]