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

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

pyarrow.compute.trunc#

pyarrow.compute.trunc(x, /, *, memory_pool=None)#

Compute the integral part.

Compute the nearest integer not greater in magnitude than x.

Parameters:
xArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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


Web Proxy Viewer  |  New URL  |  Original Page