title: Combine Dataframes With Different Indexes in Pandas
body: <p>I have two dataframes:</p>
  
  <pre><code>df1 : here index is ip
  
              accountname      name
  ip
  192.168.1.1        aaaa  john doe
  192.168.1.2        bbbb  jane doe
  
  df2 : index is accountname
  
               gsm
  accountname
  aaaa         850
  bbbb         860
  cccc         870
  </code></pre>
  
  <p>I have to combine two dataframe and add gsm column to df1.</p>
  
  <pre><code>            ip accountname      name  gsm
  0  192.168.1.1        aaaa  john doe  850
  1  192.168.1.2        bbbb  jane doe  860
  </code></pre>
  
  <p>These dataframes has different indexes and I couldnt reach right data. any advice would be appreciated.</p>