xarray.DataArray.str.isspace

DataArray.str.isspace()[source]

Check whether all characters in each string are spaces.

Returns

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