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