[Numpy-discussion] size of a specific dimension of a numpy array

gerardo.berbeglia gberbeglia at gmail.com
Wed Mar 17 10:40:14 EDT 2010

I would like to know a simple way to know the size of a given dimension of a
numpy array.

A = numpy.zeros((10,20,30),float)
The size of the second dimension of the array A is 20.


View this message in context: http://old.nabble.com/size-of-a-specific-dimension-of-a-numpy-array-tp27933090p27933090.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.

More information about the NumPy-Discussion mailing list