xarray.DataArray.str.istitle

DataArray.str.istitle()

Check whether all characters in each string are titlecase.

Returns

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

Return type

array of bool