Array এর ডাইমেনশন জানা :

a = np.array([1, 2, 3])
print(a.ndim)
Output:1

Last updated