DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+2 =
Submit