xarray.DataArray.str.len

DataArray.str.len()

Compute the length of each string in the array.

Returns

lengths array

Return type

array of int