pyarrow.compute.utf8_length

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

Compute UTF8 string lengths.

For each string in strings, emit the number of UTF8 characters. Null values emit null.

Parameters
  • strings (Array-like or scalar-like) – Argument to compute function

  • memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.