@final
@cache_readonly
def codes_info(self) -> npt.NDArray[np.intp]:
    (ids, _, _) = self.group_info
    if (self.indexer is not None):
        sorter = np.lexsort((ids, self.indexer))
        ids = ids[sorter]
        ids = ensure_platform_int(ids)
    return ids
@final
@cache_readonly
def codes_info(self) -> npt.NDArray[np.intp]:
    (ids, _, _) = self.group_info
    if (self.indexer is not None):
        sorter = np.lexsort((ids, self.indexer))
        ids = ids[sorter]
        ids = ensure_platform_int(ids)
    return ids