Dec-10-2022, 08:09 AM
You can loop with range
for k in range(50, len(array), 2010): chunk = array[k:k+2000] # do something with chunk