I have two pandas datasets:
Name A B
1 Michael 1 2
2 Peter 3 4
and
Name C D
1 Peter 8 9
2 John 5 6
How can I merge these datasets to get the following result:
Name A B C D
1 Michael 1 2 - -
2 Peter 3 4 8 9
3 John - - 5 6
The value for "-" should either be 0 or NaN.