numpy / 1.18.5 / reference / generated / numpy.char.str_len.html /

numpy.char.str_len

numpy.char.str_len(a)

Return len(a) element-wise.

Parameters
aarray_like of str or unicode
Returns
outndarray

Output array of integers

See also

__builtin__.len

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.char.str_len.html