NumPy
ma.MaskType.reshape
method
Scalar method identical to the corresponding array attribute.
Please see ndarray.reshape.
ndarray.reshape