CLN core.groupby
Broken off from local branches doing non-CLN work.

Foreshadowing: some of the TypeErrors we are catching are being caused by `self.axis` not being an Index instead of an int in some cases.