docstr: Returns a copy of row i of the matrix, as a (1 x n)
  CSR matrix (row vector).
docstr_tok: ["Returns","a","copy","of","row","i","of","the","matrix",",","as","a","(","1","x","n",")","CSR","matrix","(","row","vector",")","."]
code: def _getrow(self, i):
      """Returns a copy of row i of the matrix, as a (1 x n)
      CSR matrix (row vector).
      """
      M, N = self.shape
      i = int(i)
      if i < 0:
          i += M
      if i < 0 or i >= M:
          raise IndexError("index (%d) out of range" % i)
      return self._get_submatrix(minor=i).tocsr()
  
imports: import numpy
  from ._matrix import spmatrix
  from ._base import _spbase, sparray
  from ._sparsetools import csc_tocsr, expandptr
  from ._sputils import upcast
  from ._compressed import _cs_matrix
label_desc: Use image node_id 6 for calling the _csc_base obj's underlying member method code with example usage: obj._getrow(i) and returns: self