I have a numpy.ndarray having dimensions of 23411 x 3. I would like to add headers to the top of the matrix called: "summary", "age", and "label". In that order.
In:
matrix.shape
Out:
(23411L, 3L)
In:
type(matrix)
Out:
numpy.ndarray
I tried using the numpy.recarray but it did not work. any suggestions??