pyarrow.compute.binary_length

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

Compute string lengths.

For each string in strings, emit its length. 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.