[SciPy-user] problem in reading a indices

Alan G Isaac aisaac@american....
Thu Dec 13 07:16:41 CST 2007

On Thu, 13 Dec 2007, Xavier Barthelemy apparently wrote:
> ArrayWithData[i,int(choice[i].current[0])] 
> pm:
> and print type(ArrayWithData), ArrayWithData gives me 
> <type 'list'> [array([ 2.01,  5.01]),...] 

Sorry, missed your postscript.  (What does pm mean?)
So ArrayWithData is a list of arrays.  Then try
since lists do not handle multiple indexes.

Alan Isaac

More information about the SciPy-user mailing list