I have a dataframe with multiple subjects (company), year, personalname and gender (Female,Male). I want to obtain the year personalname changes (if there is a change). Also