

def map(self, mapper):
    '\n        Apply mapper function to its values.\n\n        Parameters\n        ----------\n        mapper : callable\n            Function to be applied.\n\n        Returns\n        -------\n        applied : array\n        '
    return self._arrmap(self.values, mapper)

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.map/original