column1 with list of all oscar winning films and column2 with random films which includes oscar won and not won films.
column1 column2 oscar won films of column2(expected result)
Moonlight Avatar 1
Hacksawridge Spectre 0
Lala land John carter 0
I want to find the oscar winning films of my random movies column2. so basically i want to compare columns 1 and 2, find the duplicates,which will be the oscar won films and populate oscar won films of column2 with 0 for no oscar won and 1 for oscar won.I tried duplicated command and it only is giving me true or false.