{ } Raw JSON

bundles / scipy 1.18.0 / scipy / sparse / _matrix / spmatrix / getrow

function

scipy.sparse._matrix:spmatrix.getrow

source: /scipy/sparse/_matrix.py:120

Signature

def getrow(self, i)

Summary

Returns a copy of row i of the matrix, as a (1 x n) sparse matrix (row vector).

Aliases

  • scipy.sparse.spmatrix.getrow