MCPcopy Create free account
hub / github.com/baidu/bigflow / apply

Method apply

bigflow_python/python/bigflow/ptype.py:60–71  ·  view source on GitHub ↗

Apply a transform on itself, p.apply(transform, *args) is equivalent to p.transform(*args) Args: transform (function): transform to be applied *args: variable length argument list Returns: PType: result of transform

(self, transform, *args, **kargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

_apply_udf_in_colsFunction · 0.45
selectFunction · 0.45
_pack_udfFunction · 0.45
aggFunction · 0.45
_ret_dict_handlerFunction · 0.45
_ret_tuple_handlerFunction · 0.45
joinFunction · 0.45
left_joinFunction · 0.45
right_joinFunction · 0.45
full_joinFunction · 0.45
distinctFunction · 0.45
transform_from_nodeMethod · 0.45

Calls 1

transformFunction · 0.70

Tested by 15

test_resultMethod · 0.36
test_resultMethod · 0.36
test_fieldsMethod · 0.36
test_concurrencyMethod · 0.36
test_applyMethod · 0.36
test_apply_nonptypeMethod · 0.36
test_tuple_to_dictMethod · 0.36
test_dict_to_tupleMethod · 0.36
test_describeMethod · 0.36