title: How to print specific element of a 2d array via searching for a matching value
body: <p>Let's say I have a 2d array:</p>
  
  <pre><code>a = np.array[ ("words",3) , ("blah",7) , ("hmm",1 ]      
  </code></pre>
  
  <p>and I have a value: <code>3.0</code></p>
  
  <p>How do I print the first index in the 2d array based off of the matching value? </p>
  
  <p>desired output: <code>words</code></p>
  
  <p>Here's my code: </p>
  
  <pre><code>k = np.array([["words words ", 4], ["blah blah", 1], [" please help me", 9]])
  a = []
  for i in range(len(k)):
      holder = (int(k[i,1]))
      a = np.append(a, holder)
      print(k[i,1])
      print(a, 'a')
  
  a = np.asarray(a)
  print('')
  print( a )
  print('')
  
  close = (np.abs(a - dot)).argmin()  # dot is the value 0, it is the value of previous dot product computation
  print(close , "close")
  c = close
  print(a[c])
  </code></pre>