How to combine two dataframe based on column?

Keywords: python-3.x pandas numpy

Question: 

I have two data frame. Data frame 1:

Name  city  pincode
XXX  Salem 636004
Yyy harur   -

Data frame 2:

City pincode
Harur 636905

Output:

Name city pincode
XXX Salem 636004
Yyy harur 636905

Answers: