numpy.core.defchararray.mod()

numpy.core.defchararray.mod

numpy.core.defchararray.mod(a, values) [source]

Return (a % i), that is pre-Python 2.6 string formatting (iterpolation), element-wise for a pair of array_likes of str or unicode.

Parameters:

a : array_like of str or unicode

values : array_like of values

These values will be element-wise interpolated into the string.

Returns:

out : ndarray

Output array of str or unicode, depending on input types

See also

str.__mod__

© 2008–2016 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.11.0/reference/generated/numpy.core.defchararray.mod.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部