Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> Left = pandas.DataFrame({'Name':['Abigail','Benny','Charlie'],'Age':[25,30,45]})
- >>> Right = pandas.DataFrame({'Name':['Charlie','Devon','Ellen'],'Age':[45,50,55]})
- >>> Left.merge(Right,how='left')
- Age Name
- 0 25 Abigail
- 1 30 Benny
- 2 45 Charlie
- What i want to return is the following
- Age Name
- 0 25 Abigail
- 1 30 Benny
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement