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

Function min

bigflow_python/python/bigflow/transforms.py:763–785  ·  view source on GitHub ↗

得到输入PCollection中最小的元素 Args: pcollection (PCollection): 输入PCollection key (function, optional): 用于提取key的函数,与Python内置``min()``中的 ``key`` 参数相同 **options: 可配置选项 Returns: PObject: 包含最小元素的PObject >>> from bigflow import transforms >>> _p = _pipeline.para

(pcollection, key=None, **options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

RunMethod · 0.50
GetWaitingTimeMethod · 0.50
apply_kv_objectMethod · 0.50
callMethod · 0.50

Calls 1

minMethod · 0.80

Tested by

no test coverage detected