<p>我有两个Pandas系列(<code>pandas.core.series.Series</code>),我想把它们合并成一个系列,在公共键上添加如下值:</p>
<pre><code>series1:
AAA Championship Car season 1
Act of Parliament of Ontario 1
Act of Parliament of the United Kingdom 18
Act of Parliament of the United Kingdom election law 1
</code></pre>
<p>+</p>
<pre><code>series2:
ATP Buenos Aires 1
ATP World Tour Finals 1
Act of Parliament of British Columbia 1
Act of Parliament of the United Kingdom 18
Act of Parliament of the United Kingdom election law 1
</code></pre>
<p>=</p>
<pre><code>series3:
AAA Championship Car season 1
ATP Buenos Aires 1
ATP World Tour Finals 1
Act of Parliament of British Columbia 1
Act of Parliament of Ontario 1
Act of Parliament of the United Kingdom 36
Act of Parliament of the United Kingdom election law 2
</code></pre>