I wanted to know what this represents, meaning, what does this tell me:
len(array.shape)
the array being a random np.array
Thank you!
>Solution :
You’re asking for the length of the shape of an array, meaning that you’ll get the number of dimensions as a result. A 3D array will have a shape (x, y, z), meaning that len(array.shape) will give you the result 3.