Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

concatenate strings of numpy array python

a=np.array(['ab','cd','ef','gh'])
''.join(a)

#Output: 'abcdefgh'
 
PREVIOUS NEXT
Tagged: #concatenate #strings #numpy #array #python
ADD COMMENT
Topic
Name
7+3 =