pyarrow.compute.ascii_rtrim_whitespace#

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

Trim trailing ASCII whitespace characters.

For each string instrings, emit a string with trailing ASCII whitespacecharacters removed. Useutf8_rtrim_whitespace to trim trailing Unicodewhitespace characters. 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.