pyarrow.compute.floor

pyarrow.compute.floor(x, *, memory_pool=None)

Round down to the nearest integer.

Calculate the nearest integer less than or equal in magnitude 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.