Cómo verificar la dimensión de la matriz en Python
import numpy as np
arr1 = np.array([[10, 20], [11, 21], [12, 22]])
dimensions = arr1.shape
CompSciGeek
import numpy as np
arr1 = np.array([[10, 20], [11, 21], [12, 22]])
dimensions = arr1.shape