SciPy

scipy.sparse.csr_matrix.getcol

csr_matrix.getcol(self, i)[source]

Returns a copy of column i of the matrix, as a (m x 1) CSR matrix (column vector).

Previous topic

scipy.sparse.csr_matrix.get_shape

Next topic

scipy.sparse.csr_matrix.getformat