FIX groupby apply ignores as_index
TST another groupby as_index test
Merge pull request #4670 from hayd/groupby_as_index

Groupby as index