Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get array dimension numpy

import numpy as np

arr = np.array([1,2,3])
arr.ndim
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #array #dimension #numpy
ADD COMMENT
Topic
Name
8+3 =