numpy.ma.shape()

numpy.ma.shape

numpy.ma.shape(obj) [source]

Return the shape of an array.

Parameters:

a : array_like

Input array.

Returns:

shape : tuple of ints

The elements of the shape tuple give the lengths of the corresponding array dimensions.