I am trying to use the .plot() function in pandas to plot data into a line graph.
The data sorted by date with 48 rows after each date. Sample below:
1 2 ... 46 47 48 18 2018-02-19 1.317956 1.192840 ... 1.959250 1.782985 1.418093 19 2018-02-20 1.356267 1.192248 ... 2.123432 1.760629 1.569340 20 2018-02-21 1.417181 1.288694 ... 2.086715 1.823581 1.612062 21 2018-02-22 1.431536 1.279514 ... 2.201972 1.878109 1.694159 etc until row 346.
I tried the below but .plot does not seem to take positional arguments:
df.plot(x=df.iloc[0:346,0],y=[0:346,1:49] How would I go about plotting my rows by date (the 1st column) on a line graph and can I expand this to include multiple axis?