dimatura / pypcd

PCL pcd fileformat i/o in Python
Other
266 stars 196 forks source link

The zip function in python 3 returns a object #23

Open pmsmall opened 5 years ago

pmsmall commented 5 years ago

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)))

yiliu-coding commented 3 years ago

Many thanks, helps a lot with one of so many bugs!