I'm trying to create two for loops, the first one (k) moving by a window of 10 e.g., (1,10,20,..,90) until 90. and the second one (l) in range (1,100). I have a problem defining the loop k.
here is what I tried, but this is not what I need for the loop (k)
X_train = np.row_stack([values[k][l] for k in range(1,100) for l in range(1, 100)])
thanks in advance.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…