class_docstr: This class provides common dispatching and validation logic for indexing.
class_docstr_tok: ["This","class","provides","common","dispatching","and","validation","logic","for","indexing","."]
docstr: Return a copy of row i of the matrix, as a (1 x n) row vector.
          
docstr_tok: ["Return","a","copy","of","row","i","of","the","matrix",",","as","a","(","1","x","n",")","row","vector","."]
code: def _getrow(self, i):
      """Return a copy of row i of the matrix, as a (1 x n) row vector."""
      M, N = self.shape
      i = int(i)
      if i < -M or i >= M:
          raise IndexError("index (%d) out of range" % i)
      if i < 0:
          i += M
      return self._get_intXslice(i, slice(None))
  
imports: import numpy
  from ._sputils import isintlike
label_desc: Use image node_id 6 for calling the IndexMixin obj's underlying member method code with example usage: obj._getrow(i) and returns: self