dask.dataframe.Series.str.normalize
dask.dataframe.Series.str.normalize¶
- dataframe.Series.str.normalize(form)¶
Return the Unicode normal form for the strings in the Series/Index.
This docstring was copied from pandas.core.strings.accessor.StringMethods.normalize.
Some inconsistencies with the Dask version may exist.
For more information on the forms, see the
unicodedata.normalize()
.- Parameters
- form{‘NFC’, ‘NFKC’, ‘NFD’, ‘NFKD’}
Unicode form.
- Returns
- Series/Index of objects
Examples
>>> ser = pd.Series(['ñ']) >>> ser.str.normalize('NFC') == ser.str.normalize('NFD') 0 False dtype: bool