Re: [Numpy-discussion] max value of an array of lists

2010-08-19 Thread sm lkd
No need any more. Thank you anyway! --sv Date: Thu, 19 Aug 2010 14:44:14 -0700 From: jsalv...@u.washington.edu To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] max value of an array of lists You have an object array of lists? Why? On Thu, Aug 19, 2010 at 2:41 PM, sm lkd

Re: [Numpy-discussion] max value of an array of lists

2010-08-19 Thread John Salvatier
It sounds like you should just have a higher dimensional array. A 2 or 3 dimensional array instead of an object array. On Thu, Aug 19, 2010 at 2:44 PM, John Salvatier wrote: > You have an object array of lists? Why? > > On Thu, Aug 19, 2010 at 2:41 PM, sm lkd wrote: > >> Hello again, >> >> Here

Re: [Numpy-discussion] max value of an array of lists

2010-08-19 Thread John Salvatier
You have an object array of lists? Why? On Thu, Aug 19, 2010 at 2:41 PM, sm lkd wrote: > Hello again, > > Here's a simple one. I have an array/matrix of lists (floats). array.max() > or max(array) returns list (!) and not an individual value. Of course, it is > possible to loop, but maybe someo

[Numpy-discussion] max value of an array of lists

2010-08-19 Thread sm lkd
Hello again, Here's a simple one. I have an array/matrix of lists (floats). array.max() or max(array) returns list (!) and not an individual value. Of course, it is possible to loop, but maybe someone knows a better way to do the same. Thanks, __