I have df1 as follow:
Name    |  ID
________|_____
Banana  |  10
Orange  |  21
Peach   |  115
Then I have a df2 like this:
ID   Price
10    2.34
10    2.34
115   6.00
I want to modify df2 to add another column name Fruit to get this as output:
 ID   Fruit     Price
 10   Banana    2.34
 10   Banana    2.34
 115  Peach     6.00
 200  NA        NA
I can use iloc to get one specific match but how to do it in all records in the df2?
 
    