On this page
numpy.char.multiply
char.multiply(a, i)[source]-
Return (a * i), that is string multiple concatenation, element-wise.
Values in
iof less than 0 are treated as 0 (which yields an empty string).- Parameters
-
aarray_like of str or unicodeiarray_like of ints
- Returns
-
outndarray-
Output array of str or unicode, depending on input types
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/generated/numpy.char.multiply.html