I have the following data frame
Date A B 0 2017-05-31 17453139 5.865738 1 2017-06-30 17425164 5.272728 2 2017-07-31 17480
IIUC:
ax = df.plot('Date','A') ax1 = ax.twinx() df.plot('Date','B',ax=ax1, color='r')
Output:
Or you can use secondary_y in Pandas plot:
secondary_y
ax = df.plot('Date','A') df.plot('Date','B',secondary_y=True, ax=ax)