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

Method round

bigflow_python/python/bigflow/pobject.py:234–246  ·  view source on GitHub ↗

PObject round(类似于math.round)算子 Args: n: 小数点后面保留的位数 Returns: PObject >>> _p1 = _pipeline.parallelize(1.2) >>> print _p1.round().get() 1

(self, n=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_operator_helperMethod · 0.95

Tested by

no test coverage detected