

def delete(self, loc):
    '\n        Make new Index with passed location(-s) deleted\n\n        Returns\n        -------\n        new_index : Index\n        '
    return self._shallow_copy(np.delete(self._data, loc))

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