pyarrow.compute.utf8_normalize#

pyarrow.compute.utf8_normalize(strings, /, form, *, options=None, memory_pool=None)#

Utf8-normalize input.

For each string in strings, return the normal form.

The normalization form must be given in the options. Null inputs emit null.

Parameters:
stringsArray-like or scalar-like

Argument to compute function.

formstr

Unicode normalization form. Accepted values are “NFC”, “NFKC”, “NFD”, NFKD”.

optionspyarrow.compute.Utf8NormalizeOptions, optional

Alternative way of passing options.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.