xarray.core.accessor_str.StringAccessor.len

StringAccessor.len(self)

Compute the length of each element in the array.

Returns

lengths array

Return type

array of int