The code below is supposed to return "buy2" to a column when priortrade= \'buy\' and prioroutcome= "loss". The exact same nested if statement is succ