Returns a copy of column i of the matrix, as a (m x 1)
CSR matrix (column vector).
return self._get_submatrix(slice(None), i)
def _get_row_slice(self, i, cslice):
Returns a copy of row self[i, cslice]
After Change
CSR matrix (column vector).
M, N = self.shape
i = int(i)
if i < 0:
i += N
if i < 0 or i >= N:
raise IndexError("index (%d) out of range" % i)