There was a great question and answer about the difference between pandas Series str.replace() and replace() method:
I wanted to expand on this and ask - why not always use the replace() method when it covers what str.replace() does and more? What advantage does str.replace() offer over replace() when it comes to string replacement in a Series or DataFrame?