# Example from https://numpy.org/doc/stable/reference/generated/numpy.ndarray.shape.html y = np.zeros((2, 3, 4)) y.shape # this returns (2, 3, 4)