xarray.core.accessor_str.StringAccessor.title

StringAccessor.title()[source]

Convert strings in the array to titlecase.

Returns

titled (same type as values)