how to remove a column from a matrix in python code example Example: how to remove first row of numpy array x = numpy.delete(x, (0), axis=0)