xarray.DataArray.str.casefold

DataArray.str.casefold()[source]

Convert strings in the array to be casefolded.

Casefolding is similar to converting to lowercase, but removes all case distinctions. This is important in some languages that have more complicated cases and case conversions.

Returns

casefolded (same type as values)