def col_insert(self, pos, mti):
        from sympy.matrices import MutableMatrix
        # Allows you to build a matrix even if it is null matrix
        if not self:
            return type(self)(mti)

        if pos == 0:
            return mti.row_join(self)
        elif pos < 0:
            pos = self.cols + pos
        if pos < 0:
            pos = 0
        elif pos > self.cols:
            pos = self.cols

        if self.rows != mti.rows:
            raise ShapeError("self and mti must have the same number of rows.")

        newmat = MutableMatrix.zeros(self.rows, self.cols + mti.cols)
        i, j = pos, pos + mti.cols
        newmat[:, :i] = self[:, :i]
        newmat[:, i:j] = mti
        newmat[:, j:] = self[:, i:]
        return type(self)(newmat)
Returns property groups for given category.
dataset/ETHPy150Open sympy/sympy/sympy/matrices/matrices.py/MatrixBase.col_insert--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Category.get_property_groups