pyarrow.compute.utf8_rpad¶
- pyarrow.compute.utf8_rpad(strings, /, width, padding=' ', *, options=None, memory_pool=None)¶
Left-align strings by padding with a given character.
For each string in strings, emit a left-aligned string by appending the given UTF8 codeunit. Null values emit null.
- Parameters:
- stringsArray-like or scalar-like
Argument to compute function.
- width
int
Desired string length.
- padding
str
, default “ “ What to pad the string with. Should be one byte or codepoint.
- options
pyarrow.compute.PadOptions
, optional Alternative way of passing options.
- memory_pool
pyarrow.MemoryPool
, optional If not passed, will allocate memory from the default memory pool.