Typeerror Numpy Types Float64dtype Object Is An Instance