NumPy

Previous topic

numpy.char.add

Next topic

numpy.char.mod

This is documentation for an old release of NumPy (version 1.19). Read this page in the documentation of the latest stable release (version 2.2).

numpy.char.multiply

numpy.char.multiply(a, i)

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
aarray_like of str or unicode
iarray_like of ints
Returns
outndarray

Output array of str or unicode, depending on input types