pyarrow.compute.binary_reverse

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

Reverse binary input.

For each binary string in strings, return a reversed version.

This function reverses the binary data at a byte-level.

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.