Python Typeerror Numpy Float64 To Integer Review