Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.Series.str.normalize#

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

Return the Unicode normal form for the strings in the Series/Index.

For more information on the forms, see theunicodedata.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   Falsedtype: bool

[8]ページ先頭

©2009-2025 Movatter.jp