pyarrow.compute.min_max

pyarrow.compute.min_max(array, *, options=None, memory_pool=None, **kwargs)

Compute the minimum and maximum values of a numeric array.

Null values are ignored by default. This can be changed through MinMaxOptions.

Parameters
  • array (Array-like) – Argument to compute function

  • memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.

  • options (pyarrow.compute.MinMaxOptions, optional) – Parameters altering compute function semantics

  • **kwargs (optional) – Parameters for MinMaxOptions constructor. Either options or **kwargs can be passed, but not both at the same time.