pyarrow.compute.ascii_rpad

pyarrow.compute.ascii_rpad(strings, *, memory_pool=None, options=None, width, padding=' ')

For each string in strings, emit a left-aligned string by appending the given UTF8 codeunit. Null values emit null..

For each string in strings, emit a left-aligned string by appending the given ASCII character. Null values emit null.

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

  • options (pyarrow.compute.PadOptions, optional) – Parameters altering compute function semantics.

  • width (optional) – Parameter for PadOptions constructor. Either options or width can be passed, but not both at the same time.

  • padding (optional) – Parameter for PadOptions constructor. Either options or padding can be passed, but not both at the same time.