@property
    def shape(self):
        return (self.rows, self.cols)
The shape (dimensions) of the matrix as the 2-tuple (rows, cols).
dataset/ETHPy150Open sympy/sympy/sympy/matrices/matrices.py/MatrixBase.shape