I tried to plot barchart and line chart on the same plot. But the linechart is not showing correctly(it seemed like it is starting at month 10). Please advise.
ax = df.groupby('month')['Tavg'].mean().plot.line()
ax = df_train.groupby('month').wnvpresent.sum().plot.bar()
ax1 = ax.twinx()
df.groupby('month')['Tavg'].mean().plot.line(ax=ax1);