Date Day_Perc_Change No. of Trades
2017-05-15 0.000000 40593
2017-05-16 -0.019184 22027
2017-05-17 -0.008550 15709
2017-05-18 -0.017699 47159
2017-05-19 -0.021748 85921
I visualized "Day_Perc_Change" in stem plot and "No. of Trades" in line plot. But now i want to compare these two plots by overlaying them on each other.. How do i visualize that?
x = df["Date"]
y = df["Day_Perc_Change"]
plt.stem(x, y, bottom=0)
plt.show()
df.plot(x="Date", y="No. of Trades", figsize=(10,8))
i Want to overlay these two on each other to compare them..is there a way to do that?
Part 2: post trying the answer mentioned below:
After trying the below code by @ElBurro
i get the following output