numpy.ma.MaskedArray.shape

attribute

MaskedArray.shape