pyarrow.compute.call_function#

pyarrow.compute.call_function(name, args, options=None, memory_pool=None, length=None)#

Call a named function.

The function is looked up in the global registry (as returned by function_registry()).

Parameters:
namestr

The name of the function to call.

argslist

The arguments to the function.

optionsoptional

options provided to the function.

memory_poolMemoryPool, optional

memory pool to use for allocations during function execution.

lengthint, optional

Batch size for execution, for nullary (no argument) functions. If not passed, inferred from data.