CASColumn.str.
replace
Replace a pattern in the data
The pattern to search for.
The replacement string.
The maximum number of replacements.
Should the pattern matching be case-insensitive?
Regular expression flags.
See also
pandas.Series.str.replace()