pandas.Series.str.normalize

pandas 3.1.1 · Series and accessors · method

Normalize Unicode text to a selected form such as NFC so equivalent spellings can compare equally.

Call syntax

Series.str.normalize(form)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
form Required
Positional or keyword
{'NFC', 'NFKC', 'NFD', 'NFKD'}

Returns

Series/Index of objects