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

Method group_by

bigflow_python/python/bigflow/pcollection.py:231–250  ·  view source on GitHub ↗

对元素分组,等同于 :func:`bigflow.transforms.group_by(self, key_extractor, value_extractor) ` Args: key_extractor (function): 用于提取key的函数 value_extractor (function, optional): 用于提取value的函数 **options: 可配置选项

(self, key_extractor, value_extractor=None, **options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

group_byFunction · 0.45
group_byFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected