pyarrow.compute.ascii_reverse

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

Reverse ASCII input.

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

This function assumes the input is fully ASCII. If it may contain non-ASCII characters, use “utf8_reverse” instead.

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.