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

Function func

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

Source from the content-addressed store, hash-verified

341 import numpy as np
342
343 def func(ctx, x):
344 return pa.scalar(np.nanmean(x))
345
346 func_name = "mean_udf"
347 func_doc = {"summary": "y=avg(x)",

Callers 15

WriteValuesMethod · 0.50
StatusToErrorStringFunction · 0.50
ScheduleTaskCallbackMethod · 0.50
OptionalParallelForFunction · 0.50
OptionalParallelForAsyncFunction · 0.50
RunInChildMethod · 0.50
OnBitPackedRunFunction · 0.50
OnRleRunFunction · 0.50
RunInChildMethod · 0.50

Calls 1

scalarMethod · 0.45

Tested by

no test coverage detected