This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).
Find the indices of the first and last not masked values along the given axis in a masked array.
If all values are masked, return None. Otherwise, return a list of 2 tuples, corresponding to the indices of the first and last unmasked values respectively.
Parameters: | axis : int, optional
|
---|