pyarrow.compute.call_function#

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

调用一个具名函数。

该函数在全局注册表中查找(由 function_registry() 返回)。

参数:
namestr

要调用的函数名称。

argslist

函数的参数。

options可选

提供给函数的选项。

memory_poolMemoryPool, 可选

函数执行期间用于分配的内存池。

lengthint, 可选

执行的批次大小,适用于空参数(无参数)函数。如果未传入,则从数据推断。