title: find position of element in matrix
body: <p>I have a list of lists. I want to find the position of the string "1" in one particular column col:</p>
  
  <pre><code>from numpy import transpose
  col = 0
  lists = [["0", "0", "N"], ["1", "0", "N"], ["N", "N", "N"]]
  pos = transpose(lists)[col].index("1")
  </code></pre>
  
  <p>But I get the error:</p>
  
  <pre><code>AttributeError: 'numpy.ndarray' object has no attribute 'index'
  </code></pre>
  
  <p>Somehow importing transpose from numpy prevents me to use index(). How do we do this easily ?</p>