Tuple of array dimensions.
Examples
>>> x = np.array([1,2,3,4]) >>> x.shape (4,) >>> y = np.zeros((4,5,6)) >>> y.shape (4, 5, 6) >>> y.shape = (2, 5, 2, 3, 2) >>> y.shape (2, 5, 2, 3, 2)
numpy.ma.MaskedArray.ndim
numpy.ma.MaskedArray.size