When I tried to plot the the excel file, The graph did not show the X axis. Does anyone can help?
Thanks in advance
x=data['hour_formatted']
y=data['01_aug_18']
plt.plot (x, y)
plt.show()
When I tried to plot the the excel file, The graph did not show the X axis. Does anyone can help?
Thanks in advance
x=data['hour_formatted']
y=data['01_aug_18']
plt.plot (x, y)
plt.show()
There's probably a better solution, but try this:
data.set_index('hour_formatted')['01_aug_18'].plot()
It worked on my end and shows values properly, axis labels and everything.