scipy.sparse.csr_array.getcol#

csr_array.getcol(j)[source]#

Returns a copy of column j of the array, as an (m x 1) sparse array (column vector).

Deprecated since version 1.11.0: This method will be removed in SciPy 1.13.0. Use array indexing instead.