numpy.ma.reshape()

numpy.ma.reshape

numpy.ma.reshape(a, new_shape, order='C') [source]

Returns an array containing the same data with a new shape.

Refer to MaskedArray.reshape for full documentation.