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

Function max

bigflow_python/python/bigflow/transforms.py:712–733  ·  view source on GitHub ↗

得到输入PCollection中最大的元素 Args: pcollection (PCollection): 输入PCollection key (function, optional): 用于提取key的函数,与Python内置``max()``中的 ``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 8

RunMethod · 0.50
RunMethod · 0.50
RunMethod · 0.50
RunMethod · 0.50
RunMethod · 0.50
RunMethod · 0.50
RunMethod · 0.50
setMethod · 0.50

Calls 1

maxMethod · 0.80

Tested by

no test coverage detected