How to apply a function to a column in Pandas depending on the value in another column?,"df['Words'] = df.apply(lambda row: func(row, 'Match Conflict'), axis=1)"