Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new_data = pd.concat([first_data, second_data], axis=1)
- id Col1 Col2 Col3
- 1 aaaa bbbb cccc
- 2 dddd eeee ffff
- 3 gggg hhhh iiii
- Col4 Col5
- mmmm nnnn
- oooo pppp
- qqqq rrrr
- id Col1 Col2 Col3 Col4 Col5
- 1 nan nan nan mmmm nnnn
- 2 nan nan nan oooo pppp
- 3 nan nan nan qqqq rrrr
- 4 aaaa bbbb cccc nan nan
- 5 dddd eeee ffff nan nan
- 6 gggg hhhh iiii nan nan
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement