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

Function unary_function

python/pyarrow/conftest.py:316–318  ·  view source on GitHub ↗
(ctx, x)

Source from the content-addressed store, hash-verified

314 from pyarrow import compute as pc
315
316 def unary_function(ctx, x):
317 return pc.call_function("add", [x, 1],
318 memory_pool=ctx.memory_pool)
319 func_name = "y=x+1"
320 unary_doc = {"summary": "add function",
321 "description": "test add function"}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected