'Insert one or more columns at the given column position.
Examples
>>> from sympy import zeros, ones
>>> M = zeros(3)
>>> V = ones(3, 1)
>>> M.col_insert(1, V)
Matrix([
[0, 1, 0, 0],
[0, 1, 0, 0],
[0, 1, 0, 0]])
See Also
col
row_insert'

def col_insert(self, pos, other):

    if (not self):
        return type(self)(other)
    if (pos < 0):
        pos = (self.cols + pos)
    if (pos < 0):
        pos = 0
    elif (pos > self.cols):
        pos = self.cols
    if (self.rows != other.rows):
        raise ShapeError('self    and    other    must    have    the    same    number    of    rows.')
    return self._eval_col_insert(pos, other)
