[SciPy-user] problem in reading a indices

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


On Thu, 13 Dec 2007, Xavier Barthelemy apparently wrote:
> ArrayWithData[i,int(choice[i].current[0])] I have the 
> following error: TypeError: list indices must be integers 

Looks like ArrayWithData is a list, not an array.

Cheers,
Alan Isaac





More information about the SciPy-user mailing list