xarray.DataArray.str.isspace

DataArray.str.isspace()

Check whether all characters in each string are spaces.

Returns

isspace – Array of boolean values with the same shape as the original array.

Return type

array of bool