Merging Pandas Dataframes averiging values where both have values

前端 未结 0 1314
情书的邮戳
情书的邮戳 2021-01-22 22:23

I have two Dataframes.

print(df1)
  key  value
0   A  NaN
1   B  1
2   C  NaN
3   D  3

print(df2)
  key  value
0   B  NaN
1   D  3
2   E  1
3   F  NaN

相关标签:
回答
  • 消灭零回复
提交回复
热议问题