def rename_categories(self, new_categories, inplace=False):
        cat = self if inplace else self.copy()
        cat.categories = new_categories
        if not inplace:
            return cat
Decorator for Builder methods that represent questions.
dataset/ETHPy150Open pydata/pandas/pandas/core/categorical.py/Categorical.rename_categories--crossover with--dataset/ETHPy150Open Sagelt/dungeon-world-codex/monsterrules/common.py/Question