title: Returning Index of Array with Maximum Element Value
body: <p>I have the following np.array</p>
  <pre><code>arry=[0, 0, np.array([858.56]), 0, 0, 0, 0, np.array([59.778]), np.array([817.752])] 
  </code></pre>
  <p>I am using the following code to find the index where the array element is maximum:</p>
  <pre><code>maximum=np.where(arry == np.amax(arry))
  </code></pre>
  <p>However, I am getting wrong index. What could be the problem?</p>