def sliding(self, size, step=1):
        return self._transform(transformations.sliding_t(_wrap, size, step))
Groups elements in fixed size blocks by passing a sliding window over them.
dataset/ETHPy150Open EntilZha/PyFunctional/functional/pipeline.py/Sequence.sliding