MCPcopy Create free account
hub / github.com/apache/arrow / binary_function

Function binary_function

python/pyarrow/tests/test_udf.py:135–137  ·  view source on GitHub ↗
(ctx, m, x)

Source from the content-addressed store, hash-verified

133 Register a binary scalar function.
134 """
135 def binary_function(ctx, m, x):
136 return pc.call_function("multiply", [m, x],
137 memory_pool=ctx.memory_pool)
138 func_name = "y=mx"
139 binary_doc = {"summary": "y=mx",
140 "description": "find y from y = mx"}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected