I have two big data set
df1
full.name first.name age
bob marley bob 10
jus bieber jus 12
xyz abcdef xyz 14
abc qwerty abc 15
hey hello hey 10
jack ma jack 12
zuke mark mark 15
df2
name age1
asd dfg 23
bob 10
jus bieber 12
xyz 23
abc qwerty 21
hey hello 10
jack 12
zuke mark 17
bradd pit 50
and I want my answer like this
full.name first.name age name age1
bob marley bob 10 bob 10
jus bieber jus 12 jus bieber 12
xyz abcdef xyz 14 xyz 23
abc qwerty abc 15 abc qwerty 21
hey hello hey 10 hey hello 10
jack ma jack 12 jack 12
zuke mark mark 15 zuke mark 17
I want to match full.name and first.name of df1 with name with df2 if
- full.name matched with name or
- first.name with name
and print value of age1 from whichever value of column of df1 matched with name(column) of df2