class_docstr: This class provides common dispatching and validation logic for indexing.
docstr: Return a copy of column i of the matrix, as a (m x 1) column vector.
  
  Args:
      i (integer): Column
  
  Returns:
      cupyx.scipy.sparse.spmatrix: Sparse matrix with single column
docstr_tok: ["Return","a","copy","of","column","i","of","the","matrix",",","as","a","(","m","x","1",")","column","vector",".","Args",":","i","(","integer",")",":","Column","Returns",":","cupyx.scipy.sparse.spmatrix",":","Sparse","matrix","with","single","column"]
code: def getcol(self, i):
      """Return a copy of column i of the matrix, as a (m x 1) column vector.
  
      Args:
          i (integer): Column
  
      Returns:
          cupyx.scipy.sparse.spmatrix: Sparse matrix with single column
      """
      M, N = self.shape
      i = _normalize_index(i, N, "index")
      return self._get_sliceXint(slice(None), i)
  
imports: import cupy
  from cupy import _core
  from cupyx.scipy.sparse._base import isspmatrix
  from cupyx.scipy.sparse._base import spmatrix
  from cupy.cuda import device
  from cupy.cuda import runtime
  import numpy
label_desc: Use image node_id 7 for calling the IndexMixin obj's underlying member method code with example usage: obj.getcol(i) and returns: self