numpy.core.defchararray.multiply()

numpy.core.defchararray.multiply

numpy.core.defchararray.multiply(a, i) [source]

Return (a * i), that is string multiple concatenation, element-wise.

Values in i of less than 0 are treated as 0 (which yields an empty string).

Parameters:

a : array_like of str or unicode

i : array_like of ints

Returns:

out : ndarray

Output array of str or unicode, depending on input types

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部