pyarrow.compute.max_element_wise

pyarrow.compute.max_element_wise(*args, skip_nulls=True, options=None, memory_pool=None)

Find the element-wise maximum value.

Nulls are ignored (by default) or propagated. NaN is preferred over null, but not over any valid value.

Parameters:
*argsArray-like or scalar-like

Argument to compute function.

skip_nullsbool, default True

Whether to skip (ignore) nulls in the input. If False, any null in the input forces the output to null.

optionspyarrow.compute.ElementWiseAggregateOptions, optional

Alternative way of passing options.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.