Re: [Tutor] list to numpy record array

2010-02-23 Thread Vincent Davis
@Skipper Thanks I will post over on the scipy list *Vincent Davis 720-301-3003 * vinc...@vincentdavis.net my blog | LinkedIn On Tue, Feb 23, 2010 at 10:55 AM, Skipper Seabold wrote: > On Mon, Feb 22, 2010 at 11:50 PM, Vincen

Re: [Tutor] list to numpy record array

2010-02-23 Thread Skipper Seabold
On Mon, Feb 22, 2010 at 11:50 PM, Vincent Davis wrote: > > I must be missing something simple. I have a list of lists data = "[['  0', ' >  0', '234.0', '24.0', ' 25'], ['  1', '  0', '22428.0', '2378.1', ' > 25'],.." and what to make a record array from it but it gets screwed up > or I don

Re: [Tutor] list to numpy record array

2010-02-23 Thread Vincent Davis
@Kent All I know about RecordArrays is from reading this page: http://www.scipy.org/RecordArrays but it looks like you have done the right thing and created a RecordArray. What is wrong with this result? The number are completely different, or I have no idea how to read it. Here are the first row

Re: [Tutor] list to numpy record array

2010-02-23 Thread Kent Johnson
On Mon, Feb 22, 2010 at 11:50 PM, Vincent Davis wrote: > > I must be missing something simple. I have a list of lists data = "[['  0', ' >  0', '234.0', '24.0', ' 25'], ['  1', '  0', '22428.0', '2378.1', ' > 25'],.." and what to make a record array from it but it gets screwed up > or I don