NumPy

Previous topic

numpy.char.startswith

Next topic

numpy.char.array

This is documentation for an old release of NumPy (version 1.18). Read this page in the documentation of the latest stable release (version 2.2).

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