import numpy as np
a=np.array([1,2,3,4,5,6,7,8,9])
b=np.array(["a","b","c","d","e","f","g","h","i"])
c=np.array([9,8,7,6,5,4,3,2,1])
datatype=np.dtype({
'names':['num','char','len'],
'formats':['i','S32','i']
})
d=np.array(zip(a,b,c),dtype=datatype)
the code above uses zip() to create a list first and then convert it to structured array. It's low efficiency, I want to know are there any builtin functions that can do this in NumPy.