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

Method intersection

bigflow_python/python/bigflow/pcollection.py:637–655  ·  view source on GitHub ↗

返回与另一个PCollection的交集 Args: other (PCollection): 另一个PCollection Returns: PCollection: 表示交集的PCollection >>> a = _pipeline.parallelize([1, 1, 2, 3]) >>> b = _pipeline.parallelize([1, 1, 2, 2, 5]) >>> a.intersection(b).get()

(self, other, output_duplicated = False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

intersectionFunction · 0.80
test_intersectionMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_intersectionMethod · 0.64