I have a pandas dataframe of that records the publications and the authors.
The dataframe is like this:
Title Author
A A Ala, D Pamucar, EB Tirkolaee
B A Heydari, S Niroomand
C F Marisa, SS Syed Ahmad, N Kausar, S Kousar
...
I would like to reverse the order of the authors' last names and the first names, so the last name will be listed first:
Title Author
A Ala A, Pamucar D, Tirkolaee EB
B Heydari A, Niroomand S
C Marisa F, Syed Ahmad SS, Kausar N , Kousar S
...
I'm thinking of using str.split to split the authors, and then use join and reversed. But the authors' orders are changed too. Is there a better solution to do this?