xarray.core.accessor_str.StringAccessor.swapcase

StringAccessor.swapcase()[source]

Convert strings in the array to be swapcased.

Returns

swapcased (same type as values)