title: Is there a way to 'search' in a pandas DataFrame for 2 specific numbers in columns and return the index if it exists?
body: <p>I have a made a DataFrame using pandas and want to know if there is a way to 'search' for 2 specific numbers in the rows of specific columns and then return the row</p>
  
  <p>eg </p>
  
  <p><img src="https://i.stack.imgur.com/byrZs.png" alt="eg"></p>
  
  <p>seach if a = 4 and b =6 return 1 (the index)</p>
  
  <p>or if b=5 and c =2  return 2 (the index)</p>
  
  <p>or seach in a = 2 and b=1 return nothing. (as this does not exist)</p>
  
  <p>Thanks!</p>