ndimΒΆ

property array.ndim: intΒΆ

Number of array dimensions (axes).

Returns:

out (int) – number of array dimensions (axes).