I'm looking for a solution to this: 2 columns in pandas dataframe with first name and surname. I'd like to shuffle name column but if the user has multiple entries (multiple rows with same name and surname) I want to keep the same rearragement. Example:
Name surname new name
John Bisham Rick
Arthur Lefer Mark
Arthur Lefer Mark
Mike Loner Peter