Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_functions
Function · 0.70
wrapper
Function · 0.70
VisitSequenceGeneric
Function · 0.50
VisitSequence
Function · 0.50
VisitSequenceMasked
Function · 0.50
VisitIterable
Function · 0.50
RunOnce
Method · 0.50
SafeCallIntoPython
Function · 0.50
SafeCallIntoPythonVoid
Function · 0.50
Calls
2
len
Function · 0.85
scalar
Method · 0.45
Tested by
no test coverage detected