title: 'numpy.ndarray' object has no attribute 'index'
body: <p>I'm trying to find the index of v but it always gives me:<br>
  <code>'numpy.ndarray' object has no attribute 'index'
  </code>
  I've tried:<br>
  <a href="https://stackoverflow.com/questions/47504523/typeerror-slice-indices-must-be-integers-or-none-or-have-an-index-method-h">TypeError: slice indices must be integers or None or have an __index__ method. How to resolve it?</a>
  <a href="https://stackoverflow.com/questions/21488005/how-to-find-the-index-of-an-array-within-an-array">How to find the index of an array within an array</a>.<br>
  <a href="https://stackoverflow.com/questions/176918/finding-the-index-of-an-item-given-a-list-containing-it-in-python?answertab=votes#tab-top">Finding the index of an item given a list containing it in Python</a></p>
  
  <p>none of them have answered my question</p>
  
  <pre><code>v = np.random.randn(10)
  print(v)
  maximum = np.max(v)
  minimum = np.min(v)
  print(maximum, minimum)
  v.index(maximum, minimum)
  </code></pre>
  
  <p>edit: Oh, crap i put ma instead of maximum my bad. I just started programing then.</p>