| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../generated/pyarrow.compute.round.html | [Back] [Original] |
Section Navigation
Round to a given precision.
Options are used to control the number of digits and rounding mode. Default behavior is to round to the nearest integer and use half-to-even rule to break ties.
Argument to compute function.
int, default 0Number of fractional digits to round to.
str, default half_to_evenRounding 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.
pyarrow.compute.RoundOptions, optionalAlternative way of passing options.
pyarrow.MemoryPool, optionalIf not passed, will allocate memory from the default memory pool.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |