[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/api/../generated/pyarrow.compute.utf8_trim.html [Back]  [Original]

pyarrow.compute.utf8_trim — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.compute.utf8_trim#

pyarrow.compute.utf8_trim(strings, /, characters, *, options=None, memory_pool=None)#

Trim leading and trailing characters.

For each string in strings, remove any leading or trailing characters from the characters option (as given in TrimOptions). Null values emit null.

Parameters:
stringsArray-like or scalar-like

Argument to compute function.

charactersstr

Individual characters to be trimmed from the string.

optionspyarrow.compute.TrimOptions, optional

Alternative way of passing options.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.


Web Proxy Viewer  |  New URL  |  Original Page