I have a df with these columns:
IN_BOLSA IN_AUXILIOS IN_OUTRA_REMUNERACAO
1 NÃO NÃO NÃO
2 SIM NÃO NÃO
3 NÃO NÃO NÃO
4 NÃO SIM NÃO
5 SIM NÃO SIM
I'd like to create a new column that has "SIM" as a value if any of the other three also is "SIM" (and NÃO otherwise) Like this:
IN_BOLSA IN_AUXILIOS IN_OUTRA_REMUNERACAO NEW_COLUMN
1 NÃO NÃO NÃO NÃO
2 SIM NÃO NÃO SIM
3 NÃO NÃO NÃO NÃO
4 NÃO SIM NÃO SIM
5 SIM NÃO SIM SIM