xarray.core.accessor_str.StringAccessor.title

StringAccessor.title()

Convert strings in the array to titlecase.

Returns:titled
Return type:same type as values