pypcd
pypcd copied to clipboard
The zip function in python 3 returns a object
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)))
Many thanks, helps a lot with one of so many bugs!