TypeError: zip argument #2 must support iteration
It sounds like you have three arrays itemNameList, array_x, and array_y Assuming they are all the same shape, you can just do: EDIT Your problem is that array_x and array_y are not actual numpy.array objects, but likely numpy.int32 (or some other non-iterable) objects: Perhaps their initialization is not going as expected, or they are being changed from arrays somewhere in your code?