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

Method first

bigflow_python/python/bigflow/pcollection.py:405–416  ·  view source on GitHub ↗

取第一个元素 Returns: PObject: 表示结果的PObject >>> p.parallelize([3, 7, 1, 3, 2, 8]).first.get() 3

(self, **options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

as_pobjectMethod · 0.95
firstFunction · 0.80
test_fieldsMethod · 0.80
test_lambda_serMethod · 0.80
test_first_pobjectMethod · 0.80

Calls

no outgoing calls

Tested by 3

test_fieldsMethod · 0.64
test_lambda_serMethod · 0.64
test_first_pobjectMethod · 0.64