xarray.DataArray.str.title

DataArray.str.title()[source]

Convert strings in the array to titlecase.

Returns

titled (same type as values)