pyarrow.compute.ascii_rtrim#
- pyarrow.compute.ascii_rtrim(strings,/,characters,*,options=None,memory_pool=None)#
Trim trailing characters.
For each string instrings, remove any trailing charactersfrom thecharacters option (as given in TrimOptions).Null values emit null.Both thestrings and thecharacters are interpreted asASCII; to trim non-ASCII characters, useutf8_rtrim.
- Parameters:
- stringsArray-like or scalar-like
Argument to compute function.
- characters
str Individual characters to be trimmed from the string.
- options
pyarrow.compute.TrimOptions, optional Alternative way of passing options.
- memory_pool
pyarrow.MemoryPool, optional If not passed, will allocate memory from the default memory pool.
On this page

