how to get colum length python 2 d 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