numpy.char.chararray.replace#

method

char.chararray.replace(old, new, count=None)[原始碼]#

For each element in self, return a copy of the string with all occurrences of substring old replaced by new.

也參考

char.replace