Pandas group by time windows,s.groupby(grouper).sum()