pyarrow.compute.utf8_length#

pyarrow.compute.utf8_length(strings, /, *, memory_pool=None)#

Compute UTF8 string lengths.

For each string in strings, emit its length in UTF8 characters. Null values emit null.

Parameters
stringsArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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