I'm currently trying to learn Numpy and Python. Given the following array: ... It is .shape : ndarray.shape. Tuple of array dimensions. Thus: >>> a.shape (2, 2) ...
stackoverflow.com