xarray.core.accessor_str.StringAccessor.capitalize

StringAccessor.capitalize()

Convert strings in the array to be capitalized.

Returns:capitalized
Return type:same type as values