How to plot multiple pandas DataFrames in a single graph

If you use code like

plot_multiple_dataframes.py
df1.plot()
df2.plot()

you will see both DataFrames being plotted each in their separate graphs/plots.

In order to plot both of them in a singleplot, use

plot_multiple_dataframes_ax.py
ax = df1.plot()
df2.plot(ax=ax)

Check out similar posts by category: Pandas, Python