Skip to content
Advertisement

How to join two dataframe on different columns without using index

i have following 2 dataframes and i want to merge them.

JavaScript

And i want like :

JavaScript

can anyone help me , tried below code but i didnt get the solution

JavaScript

Blockquote

Advertisement

Answer

You need reset_index first

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement