[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.compute.round_binary.html [Back]  [Original]

pyarrow.compute.round_binary — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.compute.round_binary#

pyarrow.compute.round_binary(x, s, /, round_mode='half_to_even', *, options=None, memory_pool=None)#

Round to the given precision.

Options are used to control the rounding mode. Default behavior is to use the half-to-even rule to break ties.

Parameters:
xArray-like or scalar-like

Argument to compute function.

sArray-like or scalar-like

Argument to compute function.

round_modestr, default half_to_even

Rounding and tie-breaking mode. Accepted values are down, up, towards_zero, towards_infinity, half_down, half_up, half_towards_zero, half_towards_infinity, half_to_even, half_to_odd.

optionspyarrow.compute.RoundBinaryOptions, optional

Alternative way of passing options.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.


Web Proxy Viewer  |  New URL  |  Original Page