Is there any builtin operation in NumPy that returns the length of each string in an array?
I don\'t think any of the NumPy string operations does that, is this corr
You can use vectorize of numpy. It is much faster.
vectorize
numpy
mylen = np.vectorize(len) print mylen(arr)