xarray.core.accessor_str.StringAccessor.len

StringAccessor.len()

Compute the length of each string in the array.

Returns

lengths array (array of int)