[Numpy-discussion] argmax()

Alan G Isaac aisaac at american.edu
Mon Jan 1 09:50:28 EST 2007

On Mon, 1 Jan 2007, Niklas Saers apparently wrote: 
> The problem is that set is an array of 2048 numbers. However, when I 
> run this function I get: 
> "maxPos = 7925760, while len(set) is 2048" 
> I do not understand why I get such a high index. Do you have any 
> suggestions? 

Can you post code that produces this problem?
(Also, your numpy version.)

Alan Isaac

More information about the NumPy-Discussion mailing list