I wanted to create a \"High Value Indicator\" column, which says \"Y\" or \"N\" based on two different value columns. I want the new column to have a \"Y\" when Value_1 is >
You can also use apply:
df['High Value Indicator'] = ( df.apply(lambda x: 'Y' if (x.Value_1>1000 or x.Value_2>15000) else 'N', axis=1) )