xarray.DataArray.str.isalpha

DataArray.str.isalpha()

Check whether all characters in each string are alphabetic.

Returns

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

Return type

array of bool