2010-07-12 9 views

Répondre

52

Utilisation unravel_index:

numpy.unravel_index(A.argmin(), A.shape) 
+5

Merci, mais pour commenter cela est certainement une syntaxe incroyablement complexe pour faire un truc simple. – linello