[Numpy-discussion] column_stack with mixed data types

Ryan Krauss ryanlists@gmail....
Mon Jul 30 15:51:47 CDT 2007


I have data in a spreadsheet where the first column is an integer. the
second is a float, columns 3-5 are strings, and columns 6 and 7 are
floats.  I have each column as a list, but when I use column_stack, I
get back a 2D array of strings.  What is the easiest way to get a
recarray out of this list of lists?  Is recarray my best/only choice?

Thanks,

Ryan


More information about the Numpy-discussion mailing list