title: pandas dataframe group year index by decade
body: <p>suppose I have a dataframe with index as monthy timestep, I know I can use <code>dataframe.groupby(lambda x:x.year)</code> to group monthly data into yearly and apply other operations. Is there some way I could quick group them, let's say by decade? </p>
  
  <p>thanks for any hints.</p>