xarray.core.accessor_str.StringAccessor.normalize#

StringAccessor.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)