[python] why numpy.ndarray is object is not callable in my simple for python loop