The documentation for Series.str.replace says that it takes a "string or compiled regex" ... "String can be a character sequence or regular expression." ... "When repl is a string, every pat is ...
If you're coming from PHP, you'll take a bit of time getting used to the new names or methods in Python. You could look up something like "python str_replace" everytime you want to do so, or you could ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results