class_docstr: Factory class to create a csr_matrix.
          
docstr: Parameters
  ----------
  param last_col_idx : int
          number of columns
docstr_tok: ["Parameters","--","--","--","--","--","param","last_col_idx",":","int","number","of","columns"]
code: def set_last_col_idx(self, last_col_idx):
      """
      Parameters
      ----------
      param last_col_idx : int
              number of columns
      """
      assert last_col_idx >= self._max_col
      self._max_col = last_col_idx
      return self
  
file_path: scattertext/scattertext/CSRMatrixTools.py
imports: import numpy
  from scipy.sparse import csr_matrix
label_desc: Use image node_id 3 for calling the CSRMatrixFactory obj's underlying member method code with example usage: obj.set_last_col_idx(last_col_idx) and returns: self