pyarrow.compute.binary_length#

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

Compute string lengths.

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