groupby can accept an index or list of indices as the key
Merge pull request #40 from eriknw/groupby_indices

groupby can accept an index or list of indices as the key