Lets say we have two dataframes df and df1 with different column names like sku as primary key and sno as its foreign key:
Example1(df) sku loc flag 122 61