df
df.name.replace({'(\\w+),\\s+(\\w+)': '\\2 \\1'}, regex=True)
df.name.replace({'(\\w+),\\s+(\\w+)': '\\2 \\1', 'Max': 'Fritz'}, regex=True)
Using regex matched groups in pandas dataframe replace function