Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. >>> df1
  2. [Output]: col1 col2 col3 col4
  3. a abc 10 str1
  4. b abc 20 str2
  5. c def 20 str2
  6. d abc 30 str2
  7.  
  8. >>> df2
  9. [Output]: col1 col2 col3 col5 col6
  10. d abc 30 str6 47
  11. b abc 20 str5 66
  12. c def 20 str7 53
  13. a abc 10 str5 21
  14.  
  15. >>> df_merged
  16. [Output]: col1 col2 col5
  17. a abc str5
  18. b abc str5
  19. c def str7
  20. d abc str6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement