Collapse axes with their maximum.
Missing data array elements are omitted from the calculation.
- Parameters
axes : (sequence of) int, optional
squeeze : bool, optional
- inplace:
bool
, optional If True then do the operation in-place and return
None
.
- i: deprecated at version 3.0.0
Use the inplace parameter instead.
- Returns
Data
or None
The collapsed array.
Examples: