I have a dataframe of two columns [Consolidated SKU] and [GAP SKU] I wanna use a For Loop as well as If statement to check each value of GAP SKU and see if its in Consoludated SKU. If it is then in the adjacent cell so a third column [True/False] it will insert True or False. What I have so far is this
for x in df['GAP SKU']:
if x in df['Consolidated SKU']:
I just dont know how to access the adjacent column. Any help would be appreciated!