Python/Pandas: How to remove salutations like MR., MS., MISS from a column of a dataframe - Stack Overflow
Tue Feb 15 2022 08:13:47 GMT+0000 (Coordinated Universal Time)
Saved by @Bambibo9799
If each value has prefix and is possible remove values bfore first space use Series.str.split with n=1 and then select second list by indexing str[1]:
https://stackoverflow.com/questions/66583470/python-pandas-how-to-remove-salutations-like-mr-ms-miss-from-a-column-of-a
Comments