how to create an array to numpy array?
def test(X, N): [n,T] = X.shape print \"n : \", n print \"T : \", T if __name__==\"__main__\": X =
if the type is list, use len(list) and len(list[0]) to get the row and column.
l = [[1,2,3,4], [0,1,3,4]]
len(l) will be 2 len(l[0]) will be 4