def shift(self, periods=1, freq=None):
        raise NotImplementedError("Not supported for type %s" %
                                  type(self).__name__)
Shift Index containing datetime objects by input number of periods and
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index.shift