#plot data fig, ax = plt.subplots(figsize=(15,7)) data.groupby(['date','type']).count()['amount'].plot(ax=ax) 

Read more of this post