Excel file 1:
ColumnA   ColumnB    ColumnC
1.        ice        Chicken
2.        ice        Butter
3.        ice        Mutton
4.        fire       Spinach
5.        fire       Beef 
6.        fire       Cucumber
7.        fire       Egg
Excel file 2:
ColumnA    ColumnB   
ice        Mutton
fire       Egg
I have 2 excel files. Using python i want to combine both excel files together to look like this:
ColumnA   ColumnB    ColumnC    ColumnD
1.        ice        Chicken    Mutton
2.        ice        Butter     Mutton
3.        ice        Mutton     Mutton
4.        fire       Spinach    Egg
5.        fire       Beef       Egg
6.        fire       Cucumber   Egg
7.        fire       Egg        Egg
What i want in the end is to create a new excel file that has all 3 columns of excel file 1, and ONLY column B of excel file 2 based on the values of column A that is similar to excel file 1 Column B. This new column will be Column D.
I searched for hours only getting how to compare two excel files to delete the differences. Any help would be appreciated.
 
    