I\'m trying to convert a two-dimensional array into a structured array with named fields. I want each row in the 2D array to be a new record in the structured array. Unfortu
I guess
new_array = np.core.records.fromrecords([("Hello",2.5,3),("World",3.6,2)], names='Col1,Col2,Col3', formats='S8,f8,i8')
is what you want.