I am having trouble plotting the multi-index datafram below,
since I cant use the m04hour.index range value for some reason.
However, this plot command works fine:
m04hour['consumption (kWh)'].plot(figsize=(12,2))
But this one doesnt:
fig,ax = plt.subplots(figsize=(8,4))
ax.plot(m04hour.index, m04hour['consumption(kWh)'],c='red',lw=1,label='queens')
Because the "m04hour.index" is returning the error:
ValueError: setting an array element with a sequence.
So the question is how to refer to the m04hour.index value for setting the plotting x-axis?
