I have a dataframe with hours of the day and a column with body activity. I want to plot the activity 'SVM' with hour in x from 12 midday to 12 midday the day after. However the plot automatically plot from 00 to 23. This is part of the code after loading the file:
enter code here
In [16] x = act1[['Time1']].values
In [17] y= act1[['SVM']].values
In [18] y
Out[18]:
array([[ 11.63],
[ 12.13],
[ 12.14],
...,
[ 86.37],
[ 154.61],
[ 127.49]])
In [19] plt.plot(x,y)
Out[19]: [<matplotlib.lines.Line2D at 0x9e7f5c0>]