[Numpy-discussion] How to Extract the Number of Rows and Columns in a Matrix

Stephanie Cooke cooke.stephanie at gmail.com
Mon Mar 26 19:03:02 EDT 2012


Hello,

I would like to extract the number of rows and columns of a matrix
individually. The shape command outputs the rows and columns together,
but are there commands that will separately give the rows and
separately give the columns?

Thanks



More information about the NumPy-Discussion mailing list