Pandas changing cell values based on another cell,df.loc[df['column_name'].isin(b)]