def vec(self):
        return self.T.reshape(len(self), 1)
Return the Matrix converted into a one column matrix by stacking columns
dataset/ETHPy150Open sympy/sympy/sympy/matrices/matrices.py/MatrixBase.vec