So überprüfen Sie die Dimension von Array in 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