0

I have two data frame, Df1 and Df2.

Df1

ID      Name
A132    AB Investment fund
A430    Micheal Business Unit
A203    Baja Finance
A101    Motocorp solution pvt ltd
A037    Dojas Corp 


Df2

ID      Name
A037    Dojas Corp ltd
A530    Jack Finance Company
A101    Motocorp pvt ltd
A132    AB Investment fund comp
A812    J K Solutions

I want to Map Df1['ID'] with Df2['ID'], which ever ID's are common in both the data frame for those records create another data frame Df3 as below:

Df3

ID     Df1['Name']                 Df2['Name']

A132   AB Investment fund          AB Investment fund comp
A101   Motocorp solution pvt ltd   Motocorp pvt ltd
A037   Dojas Corp                  Dojas Corp ltd
desertnaut
  • 57,590
  • 26
  • 140
  • 166
Aditya
  • 15
  • 2
  • 6

0 Answers0