In python 2, zip() returns a list, but a object in python 3. python 2: >211 dtype = np.dtype(zip(fieldnames, typenames)) python 3: >211 dtype = np.dtype(list(zip(fieldnames, typenames)))
In python 2, zip() returns a list, but a object in python 3.
python 2:
python 3: