Typeerror Numpy Types Float64dtype Object Is Not Iterable Python