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