def shift(self, **shifts):
        result = self
        for dim, count in shifts.items():
            result = result._shift_one_dim(dim, count)
        return result
Return a new Variable with shifted data.
dataset/ETHPy150Open pydata/xarray/xarray/core/variable.py/Variable.shift