Hi,<br><br>Suppose we have a 3X3 matrix in Mathematica. We can get its dimensions by:<br>Dimensions[A]  = {3,3}<br>TensorRank[A] = 2<br><br>Are there exact functions for these two in Python?<br><br>Thank you<br>