Hi,
A.shape[1]
2010/3/17 gerardo.berbeglia :
>
> I would like to know a simple way to know the size of a given dimension of a
> numpy array.
>
> Example
> A = numpy.zeros((10,20,30),float)
> The size of the second dimension of the array A is 20.
>
> Thanks.
>
>
>
>
> --
> View this message in con
I would like to know a simple way to know the size of a given dimension of a
numpy array.
Example
A = numpy.zeros((10,20,30),float)
The size of the second dimension of the array A is 20.
Thanks.
--
View this message in context:
http://old.nabble.com/size-of-a-specific-dimension-of-a-numpy-