Hello I have 2 dataframe
The first
df1
target Name
SP1.1 Lupus
SP2.2 Canis
SP3.3 Canis
and the second where I have NA values in the Name columns that I need to fill according to df1$Name and df1$target matches between the two df
df2
target Name COLn
SP1.1 <NA> 9
SP2.2 Canis 32
SP3.3 <NA> 78
SP4 Canis 7
The expected result would be
df2
target Name COLn
SP1.1 Lupus 9
SP2.2 Canis 32
SP3.3 Canis 78
SP4 Canis 7
doessomeone have an idea?