def row_swap(self, i, j):
        for k in range(0, self.cols):
            self[i, k], self[j, k] = self[j, k], self[i, k]
Swap the two given rows of the matrix in-place.
dataset/ETHPy150Open sympy/sympy/sympy/matrices/dense.py/MutableDenseMatrix.row_swap