get dimensions of 2d list 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