shape

property ArrayOfIndex.shape

As for numpy.ndarray