Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
python check matrix dimension
The Hung
Programming language:
Python
2021-06-16 04:25:05
0
Q:
python check matrix dimension
Jeff the Chf
Code:
Python
2021-02-24 10:51:19
>>> a=[[1,5,6,8],[1,2,5,9],[7,5,6,2]] >>> len(a) 3 >>> len(a[0]) 4
0
voikya
Code:
Python
2021-07-15 00:43:03
>>> a.shape (2, 2)
1
Tags
python
check
matrix
Related
how to address a column in a 2d array python
size of matrix python
pytorch tensor add one dimension
get column or row of matrix array numpy python
pytorch tensor change dimension order
dimension of an indez pandas
transpose matrix python
length of a matrix in python
compute the determinant of the matrix python
mean along third dimension array python
matrix representation in python
transpose of matrix in python
python numpy multiply matrix
matlab find 2d index
add a third dimension matrix dataset python
New to Communities?
Join the community