def add(x1, x2):
arr1 = numpy.asarray(x1)<EOL>arr2 = numpy.asarray(x2)<EOL>out_size = _get_num_chars(arr1) + _get_num_chars(arr2)<EOL>dtype = _use_unicode(arr1, arr2)<EOL>return _vec_string(arr1, (dtype, out_size), '<STR_LIT>', (arr2,))<EOL>
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`.