James Clare
9 дней назад
Комментарии:
Why notdata = list(range(1,m))Window = [data[n:n+a] for n in range(m-a+1)]Where "a" is size of splits and "m" is the max data numberIn this case m=5 and a=3