chevron_left
Char
Method addMethod capitalizeMethod centerMethod countMethod endswithMethod equalMethod expandtabsMethod findMethod greaterMethod greater_equalMethod indexMethod isalnumMethod isalphaMethod isdecimalMethod isdigitMethod isnumericMethod isupperMethod joinMethod lessMethod less_equalMethod ljustMethod lowerMethod multiplyMethod not_equalMethod rfindMethod rjustMethod rstripMethod splitMethod splitlinesMethod startswithMethod upperMethod zfill
0
0
0
new
NumPy char | add method
Programming
chevron_rightPython
chevron_rightNumPy
chevron_rightDocumentation
chevron_rightChar
schedule Mar 10, 2022
Last updated Python●NumPy
Tags tocTable of Contents
expand_more Numpy's add(~)
method takes in two arrays of Strings, and performs pair-wise string concatenation.
Parameters
1. x1
| array-like
The first input array.
2. x2
| array-like
The second input array.
Examples
np.char.add(["a","b"], ["c","d"])
array(['ac', 'bd'], dtype='<U2')
Published by Isshin Inada
Edited by 0 others
Did you find this page useful?
Ask a question or leave a feedback...