@cache_readonly
def result_index(self) -> Index:
    if (len(self.groupings) == 1):
        return self.groupings[0].result_index.rename(self.names[0])
    codes = self.reconstructed_codes
    levels = [ping.result_index for ping in self.groupings]
    return MultiIndex(levels=levels, codes=codes, verify_integrity=False, names=self.names)
@cache_readonly
def result_index(self) -> Index:
    if (len(self.groupings) == 1):
        return self.groupings[0].result_index.rename(self.names[0])
    codes = self.reconstructed_codes
    levels = [ping.result_index for ping in self.groupings]
    return MultiIndex(levels=levels, codes=codes, verify_integrity=False, names=self.names)