This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / sparse / _matrix / spmatrix / getcol

function

scipy.sparse._matrix:spmatrix.getcol

source: build-install/usr/lib/python3.14/site-packages/scipy/sparse/_matrix.py:135

Signature

def getcol(self, j)

Summary

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

Aliases

  • scipy.sparse.spmatrix.getcol