title: Python panda search for value in a df from another df
body: <p>I’ve got two data frames :-</p>
  
  <p>Df1</p>
  
  <pre><code>Time   V1    V2
  02:00  D3F3  0041
  02:01  DD34  0040
  </code></pre>
  
  <p>Df2</p>
  
  <pre><code> FileName  V1    V2
     1111.txt  D3F3  0041
     2222.txt  0000  0040
  </code></pre>
  
  <p>Basically I want to compare the v1 v2 columns and if they match print the row time from df1 and the row from df2 filename. So far all i can find is the </p>
  
  <blockquote>
    <p>isin()</p>
  </blockquote>
  
  <p>, which simply gives you a boolean output.</p>
  
  <p>So the output would be :</p>
  
  <blockquote>
    <p>1111.txt 02:00</p>
  </blockquote>
  
  <p>I started using dataframes because i though i could query the two df's on the V1 / V2 values but I can't see a way. Any pointers would be much appreciated</p>