SciPy

This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.sparse.csc_matrix.getcol

csc_matrix.getcol(self, i)[source]

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

Previous topic

scipy.sparse.csc_matrix.get_shape

Next topic

scipy.sparse.csc_matrix.getformat