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 5 for calling the IndexMixin obj's underlying member method code with example usage: obj.getrow(i) and returns: self