This is documentation for an old release of NumPy (version 1.3.). Read this page Search for this page in the documentation of the latest stable release (version > 1.17).
numpy.ma.resize
-
numpy.ma.resize(x, new_shape)
Return a new array with the specified shape.
The total size of the original array can be any size. The new
array is filled with repeated copies of a. If a was masked, the
new array will be masked, and the new mask will be a repetition of
the old one.