xarray.DataArray.str.normalize

xarray.DataArray.str.normalize#

DataArray.str.normalize(form)[source]#

Return the Unicode normal form for the strings in the datarray.

For more information on the forms, see the documentation for unicodedata.normalize().

Parameters

form ({"NFC", "NFKC", "NFD", "NFKD"}) – Unicode form.

Returns

normalized (same type as values)