xarray.core.accessor_str.StringAccessor.isspace

StringAccessor.isspace(self)

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