1import numpy
2array = np.array([0. , 0.05, 0.25, 0.5 , 0.75])
3# is array contain no 0?
4np.all(array)
5>>> False
6# Remove the 0, first element of the array.
7array[1:]
8>>> array([0.05, 0.25, 0.5 , 0.75])
9# is array contain no 0?
10np.all(array[1:])
11>>> True