I have a function that generates a numpy array given an index and i want to have a 2d array of these arrays but when i do a simple for loop it gets stuck
A = np.zeros(0)
for i in range(1000):
np.append(A, getArray(i))
why does this result in infinite loop? it ran for very long and it never finished? the function getArray returns a very big array of 500000 elements (it is an image)