pyarrow.compute.utf8_reverse#

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

Reverse input.

For each string in strings, return a reversed version.

This function operates on Unicode codepoints, not grapheme clusters. Hence, it will not correctly reverse grapheme clusters composed of multiple codepoints.

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.