ndimΒΆ property array.ndim: intΒΆ Number of array dimensions (axes). Returns: out (int) β number of array dimensions (axes).