I have two data frames A,B
"A" data frame consists of 1 column(column name:str1)
"B" data frame consists of 2 columns(column names:m2,m3)
I am comparing str1 from "A" with m2 of "B"
what i want is when "str1" matches with "m2" i want "str1" to get replaced by "m3". following is my data,
data frame A.str1="gmaps","facebook","gmail","linkedin"
data frame B.m1 ="gmaps","oracle","gmail","intel"
data frame B.m2 ="Google","xyz","Google","nvidia"
i want the output as
data frame A.str1="Google","facebook","Google","linkedin"
so where ever A.str1 matches with B.m1 the A.str1 will be replaced by B.m2 thanks in advance