xarray.DataArray.str.swapcase

DataArray.str.swapcase()

Convert strings in the array to be swapcased.

Returns

swapcased (same type as values)