I have tried:
x1=np.array([1,2,3,4])
x2=np.array(['a','dd','xyz','12'])
x3=np.array([1.1,2,3,4])
r = np.core.records.fromarrays([x1,x2,x3],names='a,b,c'
type(r) gives <class 'numpy.core.records.recarray'>
np.save('np.npy', r)
r = np.load('np.npy')
type(r) gives <type 'numpy.ndarray'>
So my record is lost and converted to ndarray, any idea?
Thanks
Vishal Rana
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion