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

Trim trailing whitespace characters.

For each string in strings, emit a string with trailing whitespace characters removed, where whitespace characters are defined by the Unicode standard. Null values emit null.

  • 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.