Suppose I have a NumPy structured array with various numeric datatypes. As a basic example,
my_data = np.array( [(17, 182.1), (19, 175.6)], dtype=\'i2,f4\
Here's one way (assuming my_data is a one-dimensional structured array):
my_data
In [26]: my_data Out[26]: array([(17, 182.10000610351562), (19, 175.60000610351562)], dtype=[('f0', '