NumPy参考 >例行程序 >String operations > numpy.char.mod
numpy.char.
mod
(a, values)¶Return (a % i), that is pre-Python 2.6 string formatting (iterpolation), element-wise for a pair of array_likes of str or unicode.
These values will be element-wise interpolated into the string.
Output array of str or unicode, depending on input types
See also
str.__mod__