I created a list of numbers via [i for i in np.arange(0.0,0.3,0.05)]. This returned an unusual result:
[0.0, 0.05, 0.1, 0.15000000000000002, 0.2, 0.25]
The args for np.arange() are start,stop, and step. With a step of 0.05 and a start/stop of 0.0 - 0.3, I would have expected an arange of
[0.0, 0.05, 0.1, 0.15, 0.2, 0.25]
What is causing that odd 2e-18?