Back to Numerical Arrays (NumPy)
np.maximum
Element-wise maximum of array elements (propagates NaN).
Syntax
np.maximum(x1, x2)
Description
Element-wise maximum of array elements (propagates NaN).
Parameters
| Name | Description |
|---|---|
| x1 | NDArray |
| x2 | NDArray |
Returns
NDArray