[SciPy-user] problem in reading a indices
Xavier Barthelemy
xavier.barthelemy at cmla.ens-cachan.fr
Thu Dec 13 09:10:51 EST 2007
Yesss it's working!!!
thanks, i did pass too much time on it for this
thanks a lot. I did not know this point in calling lists.
and by the way, pm is a latinicism for: post mailum ;)
Xavier
Alan G Isaac a écrit :
> 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
> ArrayWithData[i][otherindex]
> since lists do not handle multiple indexes.
>
More information about the SciPy-User
mailing list