NumPy

numpy.ma.MaskType.reshape

method

MaskType.reshape()

Scalar method identical to the corresponding array attribute.

Please see ndarray.reshape.