pyarrow.compute.divide_checked

pyarrow.compute.divide_checked(dividend, divisor, *, memory_pool=None)

Divide the arguments element-wise.

An error is returned when trying to divide by zero, or when integer overflow is encountered.

Parameters
  • dividend (Array-like or scalar-like) – Argument to compute function

  • divisor (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.