How to know what is the size of an array

I am currently doing the tutorial on Numpy and I don’t understand ndarray.size
if it’s >> ndarray.size and it gves (2,3) i understand that x is number of rows and 3 s number of columns but I don’t understand when it had 3 values like the answer of this example which is (3, 2, 4)
Thank you guys!

array_example = np.array([[[0, 1, 2, 3],
… [4, 5, 6, 7]],

… [[0, 1, 2, 3],
… [4, 5, 6, 7]],

… [[0 ,1 ,2, 3],
… [4, 5, 6, 7]]])

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.