For example I have a df1 which consist
Name Age
Mark 23
Lyla 25
Jose 20
Dianna 23
df2 is as follows
Name Age
Mark 23
Mina 24
Janna 20
Jane 23
I want to compare these two files if a name exist in both files
df1[New Column] = df1.Name.isin(attendance.Name)
But on the new column instead of the True or False result, I want it to be Exist or Doesn't Exist.