title: Python Pandas: How to retrieve row index of multiple values
body: <p>I would like to get the row index of the row that contains certain values(more than one).</p>
  
  <p>I have tried put the values that I would like to retrieve in a list but failed, I can only search the index one by one which is quite tedious.</p>
  
  <p>Possible but tedious</p>
  
  <pre><code>rows.loc[rows['NO']=='NO'].index.values
  rows.loc[rows['NO']=='Sub Total :'].index.values
  rows.loc[rows['NO']=='Generated By:'].index.values
  rows.loc[rows['NO']=='Product :'].index.values
  </code></pre>
  
  <p>Failed</p>
  
  <pre><code>rows.loc[rows['NO']==list1].index.values
  </code></pre>