2d array size python get line 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