I want to replace the values in the column \'Risk Rating\' if and only if three conditions are met from three different columns of the dataframe. I did it using mask technique a