title: Python numpy.where and structured (record) array
body: <p>I'd like to use numpy.where with my array of records :</p>
  
  <pre><code>new_array = np.core.records.fromrecords([(data[0],data[1],data[2],data[3],data[4],data[5],ND‌​ate)],names='Date, Name, Age, Start, End,Avg,NDate',formats='S10,d,d,d,d,d,d')
  </code></pre>
  
  <p>I've tried this:</p>
  
  <pre><code>np.where(work.stock==6.26)
  &gt;&gt;(array([], dtype=int32),)
  </code></pre>
  
  <p>Returned nothing, so I tried this:</p>
  
  <pre><code>np.where(work.stock==work.stock[6.26])
  &gt;&gt;(array([6]),)
  </code></pre>
  
  <p>Returned number of the equal elements. But I just need the index of the first occurance. How can it be done?</p>