python pandas dataframe merge or join dataframe
<p>I want to help yours</p>

<p>if i have a pandas dataframe merge</p>

<p>first dataframe is</p>

<pre><code>D = { Year, Age, Location, column1, column2... }
      2013, 20 , america, ..., ...
      2013, 35, usa, ..., ...
      2011, 32, asia, ..., ...
      2008, 45, japan, ..., ...
</code></pre>

<p>shape is 38654rows x 14 columns</p>

<p>second dataframe is </p>

<pre><code>D = { Year, Location, column1, column2... }
      2008, usa, ..., ...
      2008, usa, ..., ...
      2009, asia, ..., ...
      2009, asia, ..., ...
      2010, japna, ..., ...
</code></pre>

<p>shape is 96rows x 7 columns</p>

<p>I want to merge or join two different dataframe.
How can I do it?</p>

<p>thanks</p>