pyarrow.compute.utf8_ltrim¶
- pyarrow.compute.utf8_ltrim(strings, /, characters, *, options=None, memory_pool=None)¶
Trim leading characters.
For each string in strings, remove any leading characters from the characters option (as given in TrimOptions). Null values emit null.
- 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.