fix groupby with tuple bug
Merge pull request #8123 from TomAugspurger/groupby-tuple

BUG: fix groupby with tuple bug