Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check dimension of array in python

import numpy as np
arr1 = np.array([[10, 20], [11, 21], [12, 22]])
dimensions = arr1.shape
 
PREVIOUS NEXT
Tagged: #check #dimension #array #python
ADD COMMENT
Topic
Name
8+2 =