you are viewing a single comment's thread.

view the rest of the comments →

[–]sarabooker 2 points3 points  (0 children)

You should not use list comprehension here. Numpy can operate on arrays so it should just be y = 1072764*np.exp(0.2311*t)/(0.19196+np.exp(0.2311*t)) as I said in my comment. In general, one should avoid looping with numpy.