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

Function func

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

Source from the content-addressed store, hash-verified

344 import numpy as np
345
346 def func(ctx, x):
347 return pa.scalar(np.nanmean(x))
348
349 func_name = "mean_udf"
350 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
operator()Method · 0.50
OnBitPackedRunFunction · 0.50
OnRleRunFunction · 0.50

Calls 1

scalarMethod · 0.45

Tested by

no test coverage detected