title: how to compare columns of different dataframes?
body: <p>data frame 1</p>
  
  <pre><code>Team      region
  xxxx       ppl
  yyyy       olk
  zzzz       ppl
  xyxy       ioj
  yzyz       olk
  xzxz       ioj
  </code></pre>
  
  <p>datframe 2</p>
  
  <pre><code>players     Team      
   chin       xxxx      
   shan       yyyy       
   fav        zzzz       
   janb      xyxy       
    jj      yzyz       
    nbhg     xzxz       
    ggdfg    okk
    jhjuf    kkdu
    hgdf     xyxy
  </code></pre>
  
  <p>if dataframe 1 Team == dataframe 2 then print region.</p>
  
  <p>Required output should be:</p>
  
  <pre><code>players     Team    region    
   chin       xxxx     ppl     
   shan       yyyy     olk     
   fav        zzzz     ppl  
   janb       xyxy     ioj  
    jj        yzyz     olk  
    nbhg      xzxz     ioj  
    hgdf      xyxy
  </code></pre>