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 run that little piece of code:
mybox = (17.0, -13.0, 489.0644700903291, 566.0)
# this 'box' is my input so these values will vary
xMin, yMin, xMax, yMax = mybox
yValue = range(yMin, yMax, 30)
running it, I get an error:
TypeError: range() integer end argument expected, got float.
Is there a way to use a float in a range like that?
Thanks,
arange(): docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html - mechanical_meat