xarray.core.accessor_str.StringAccessor.len

StringAccessor.len()

Compute the length of each element in the array.

Returns:lengths array
Return type:array of int