import pandas as pd
df = pd.DataFrame({'action': ['visited', 'clicked', 'switched'],
'target': ['pricing page', 'homepage', 'succeesed']
'type': [np.nan, np.nan, np.nan],})`
I have an empty "type" column in the dataframe. I want a text to be written if the row certain condition satisfies it. e.g;
action=visited
and target=pricing page
get type=free