I know there was already a question about this topic (cleanest way to add a field to a structured numpy array), see
Adding a field to a structured numpy array
but I have a question about the answer given there ...
If you're using numpy 1.3, there's also numpy.lib.recfunctions.append_fields()
I still have numpy 1.3, but it doesn't recognise this function, and I also didn't find anything about it in the documentation of numpy. What happened with the function? Is there another function that can do the same?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…