i am new to python i have to remove duplicate data based on some condition that is if symb variable is match with same symb variable then remove the duplicate symb variable