https://researchdatapod.com/how-to-solve-python-typeerror-numpy-float64-object-cannot-be-interpreted-as-an-integer/
How to Solve Python TypeError: 'numpy.float64' object cannot be interpreted as an integer