REF: GroupBy._get_cythonized_result
This is preparatory to making get_cythonized_result operate blockwise, which should improve perf a decent amount
I think this PR introduced two of the mypy failures on master. ill make a pr to fix the mypy issues shortly I fixed it in #42770