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

Function extract_keys

bigflow_python/python/bigflow/transforms.py:285–303  ·  view source on GitHub ↗

提取给定PTable中所有的key Args: ptable (PTable): 输入PTable **options: 可配置选项 Returns: PCollection: 所有的key,以PCollection给出 >>> from bigflow import transforms >>> _p = _pipeline.parallelize({"A": [2, 3], "B": [4, 5]}) >>> transforms.extract_keys(_p).get() ["A"

(ptable, **options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

extract_keysMethod · 0.80

Tested by

no test coverage detected