26 Sep
2007
26 Sep
'07
5:40 p.m.
I have a record array r and I want to add a new field to it. I have
been looking at setfield but I am not sure how to use it for this
purpose. Eg
# r is some npy record array
N = len(r)
x = npy.zeros(N)
# add array of floats x to r with dtype name 'jdh' and type '