Pandas Python Replace Substrings Interview