I've aggregated values by month to display as a bar chart using Pandas TimeGrouper:
fig, ax = plt.subplots(figsize=(15,10))
df = pd.read_excel('example.xlsx',index_col='Date')
g = df.groupby(pd.TimeGrouper("M"))
g[['Money Out','Money in']].sum().plot(kind='bar',ax=ax)
Which gives me this output:
But I also want to display the raw data on this same chart as a line series, for example:
df['Balance'].plot(ax=ax)
To give this:
However, when I plot both together, only the bar chart shows, even though the x axis appears to me to be dates that should be compatible.