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

numpy.char.str_len

char. str_len ( a ) [source]

Return len(a) element-wise.

Parameters
a array_like of str or unicode
Returns
out ndarray

Output array of integers

See also

builtins.len

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