这是我要合并的 2 个数据帧。但是标签彼此不同
df1
Date Campaign Sales
11/07/2020 AMZ CT BR Leather Shoes ABCDEFG1234 $10
11/07/2020 AMZ CT NB Leather Shoes ABCDEFG1234 $20
11/07/2020 AMZ OG BR Bag HGIJK567 $30
11/07/2020 AMZ OG NB Bag HGIJK567 Desktop $40
df2
Date Campaign Spend
11/07/2020 GA BR Leather Shoes ABCDEFG1234 $5
11/07/2020 GA NB Leather Shoes ABCDEFG1234 $6
11/07/2020 GA BR Bag HGIJK567 $7
11/07/2020 GA NB Bag HGIJK567 Desktop $8
这是我想要的输出
df3
Date Campaign Spend Sales
11/07/2020 CT BR Leather Shoes ABCDEFG1234 $5 $10
11/07/2020 CT NB Leather Shoes ABCDEFG1234 $6 $20
11/07/2020 OG BR Bag HGIJK567 $7 $30
11/07/2020 OG NB Bag HGIJK567 Desktop $8 $40
SMILET
炎炎设计
相关分类