def rename(self, name, inplace=False):
        return self.set_names([name], inplace=inplace)
Set new names on index. Defaults to returning new index.
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index.rename