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

Function func

python/pyarrow/tests/test_udf.py:55–56  ·  view source on GitHub ↗
(ctx, x, *args)

Source from the content-addressed store, hash-verified

53 Register a unary aggregate function (mean)
54 """
55 def func(ctx, x, *args):
56 return pa.scalar(np.nansum(x))
57
58 func_name = "sum_udf"
59 func_doc = empty_udf_doc

Callers 9

test_exported_functionsFunction · 0.70
wrapperFunction · 0.70
VisitSequenceGenericFunction · 0.50
VisitSequenceFunction · 0.50
VisitSequenceMaskedFunction · 0.50
VisitIterableFunction · 0.50
RunOnceMethod · 0.50
SafeCallIntoPythonFunction · 0.50
SafeCallIntoPythonVoidFunction · 0.50

Calls 2

lenFunction · 0.85
scalarMethod · 0.45

Tested by

no test coverage detected