Open in with one click!
m = matrix([[1,1],[2,2]])
m.rank()
1