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

Stephanie Cooke cooke.stephanie@gmail....
Mon Mar 26 18:03:02 CDT 2012


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?


More information about the NumPy-Discussion mailing list