Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- combo_df = top_ten_customers.merge(sales_last_two_years, how = 'left', on = 'SapEndCustomerId')
- combo_df = combo_df.set_index ('SapEndCustomerId')
- combo_df = combo_df.query('~index.duplicated()')
- combo_df
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement