numpy / 1.22.0 / reference / generated / numpy.char.add.html /

numpy.char.add

char. add ( x1, x2 ) [source]

Return element-wise string concatenation for two arrays of str or unicode.

Arrays x1 and x2 must have the same shape.

Parameters
x1 array_like of str or unicode

Input array.

x2 array_like of str or unicode

Input array.

Returns
add ndarray

Output array of string_ or unicode_, depending on input types of the same shape as x1 and x2.

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.char.add.html