Skip to content Skip to sidebar Skip to footer

Python Typeerror: Range() Integer End Argument Expected, Got Float

I apologize in advance, I saw the answers already given for a similar kind of error but I couldn't make out anything out of it for my case. My python is quite basic and I am trying

Solution 1:

You're looking for arange, which can be found in numpy (or pylab).

import numpy
...
yValue = numpy.arange(yMin, yMax, 30.0)

Post a Comment for "Python Typeerror: Range() Integer End Argument Expected, Got Float"