Is this a bug?
import numpy as np a1=np.array([\'a\',\'b\']) a2=np.array([\'E\',\'F\']) In [20]: add(a1,a2) Out[20]: NotImplemented
I am t
This can (and should) be done in pure Python, as numpy also uses the Python string manipulation functions internally:
numpy
>>> a1 = ['a','b'] >>> a2 = ['E','F'] >>> map(''.join, zip(a1, a2)) ['aE', 'bF']