SciPy

scipy.sparse.dok_matrix.getcol

dok_matrix.getcol(j)[source]

Returns the j-th column as a (m x 1) DOK matrix.