numpy.char.chararray.replace
method
-
chararray.replace(self, old, new, count=None)
-
For each element in
self
, return a copy of the string with all occurrences of substringold
replaced bynew
.See also
char.replace
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.char.chararray.replace.html