pyarrow.compute.trunc¶
-
pyarrow.compute.
trunc
(x, *, memory_pool=None)¶ Get the integral part without fractional digits.
Calculate the nearest integer not greater in magnitude than to the argument element-wise.
- Parameters
x (Array-like or scalar-like) – Argument to compute function
memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.