Closed
Description
In the groupby code we sometimes get do ids, _, ngroups = self.group_info
and other times do ngroups = self.ngroups
. In all existing test cases (as of last time I checked which was probably over a year ago), these two ways of getting ngroups
match. Can we prove that this will always be the case? If so, let's make one a property based on the other. If not, let's add a test with a counter-example and a comment.