Reputation: 360
hello i'm newbie in pandas
for example, datas of cryptocurrency are as below
BTC
time(index) open high low close value
0 1 4 1 2 1
1 2 5 2 3 2
ETH
time(index) open high low close value
1 1 1 1 1 1
and I want merge these datas as blow
BTC X ETH
BTC ETH
time(index) open high low close value open high low close value
0 1 4 1 2 1 NaN NaN NaN NaN NaN
1 2 5 2 3 2 1 1 1 1 1
is there any way to merge?
Upvotes: 1
Views: 60