I have a dataframe called 'data':
USER FIELD1
Jack 1
Jill 2
Kane 3
and a separate dataframe called 'ids' that serves to be used as a conversion table:
ID ID_NEW
Jack Jack_NEW
Jill Jill_NEW
Tyler TYLER_NEW
How can I iterate through 'data' to replace the USER value if it is found in the 'ids' dataframe while keeping values that are not found? To end up with something like:
USER FIELD1
Jack_NEW 1
Jill_NEW 2
Kane 3