I usually forget how much Numpy makes life easy :
Say, you have a 101 element array, e.g.:
import numpy as np a = np.linspace(0,100,101)
and you want to take every 4th item in that array, that’s as easy as :
array([0., 4., ... , 96., 100.])
I love Numpy !