xarray.core.accessor_str.StringAccessor.len

xarray.core.accessor_str.StringAccessor.len#

StringAccessor.len()[source]#

Compute the length of each string in the array.

Returns:

lengths array (array of int)