I have a dataframe including two columns which denote events A and B (0 and 1 for happening / not happening respectively). I want to create a new column, C, which is True if