title: Pandas: Aggregate by month for every subgroup
body: <p>I have the following <code>pandas</code> table</p>
  
  <pre><code>                          TUFNWGTP  TELFS  t070101  t070102  t070103  t070104  \
  TUDIARYDATE status                                                              
  2003-01-03  emp     8155462.672158      2        0        0        0        0   
  2003-01-04  emp     1735322.527819      1        0        0        0        0   
              emp     3830527.482672      2       60        0        0        0   
  2003-01-02  unemp   6622022.995205      4        0        0        0        0   
  2003-01-09  emp     3068387.344956      1        0        0        0        0
  </code></pre>
  
  <p>and I want to aggregate the daily data to monthly data, <em>for every subgroup</em>.</p>
  
  <p>That is, if there was no <code>status</code> subindex, I would do</p>
  
  <pre><code>df.resample('M', how='sum')
  </code></pre>
  
  <p>How can I do the monthly aggregation for every subgroup?</p>