0
for iter in range(0, max_iter):
    print("in loop")
    print(w[0:iter])
    print(X[0:iter])

I am currently attempting to access an increasing portion of a numpy array, the problem seems to be the first loop when accessing w[0:0], how else can I query this?

Currently, it outputs [] instead of the first value I was hoping for.

0 Answers0