pyarrow.compute.binary_repeat

pyarrow.compute.binary_repeat(strings, num_repeats, /, *, memory_pool=None)

Repeat a binary string.

For each binary string in strings, return a replicated version.

Parameters:
stringsArray-like or scalar-like

Argument to compute function.

num_repeatsArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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