I have the following dataframe:
Price,Volume
6550,18
6551,5
6552,2
6553,13
......
......
......
7001,3
7002,21
I want price along one axis and volume along the other. Since this is a pandas dataframe I am under the impression I can just plot it as follows:
df.plot(kind='bar')
plt.show()
However it is plotting both columns along the same axis. I want each column on a separate axis. I have tried the following which does not work:
df.plot(kind='bar', xticks=df['Price'], yticks=df['Volume'])
Any suggestions on what i'm doing wrong would be appreciated.