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.

Previous topic

numpy.ma.reshape

Next topic

numpy.ma.MaskedArray.flatten

This Page

Quick search