how to know size of 2d array in python code example
Example: code to find the shape of the 2d list in python
from numpy import array
l = [[2, 3], [4, 2], [3, 2]]
a = array(l)
print a.shape
from numpy import array
l = [[2, 3], [4, 2], [3, 2]]
a = array(l)
print a.shape