Numpy.where function not finding values within array... Anyone know why?
There is very little meaning in comparing floating point numbers; in particular, there is a lot you cannot learn by observing the printed representation of floating point numbers. (See more here.)
Try something like this:
import numpy as nplbpoly= np.array([4.0, 6.2])>>> np.where(np.isclose(lbpoly, 6.2))(array([1]),)