pyarrow.compute.floorΒΆ

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

Round down to the nearest integer.

Compute the largest integer value 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.