Answers for "concatenate strings of numpy array python"

0

concatenate strings of numpy array python

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

#Output: 'abcdefgh'
Posted by: Guest on February-04-2022

Code answers related to "concatenate strings of numpy array python"

Python Answers by Framework

Browse Popular Code Answers by Language