class_docstr: Factory class to create a csr_matrix.
          
code: def get_csr_matrix(self, dtype=None, make_square=False):
      shape = (self._max_row + 1, self._max_col + 1)
      if make_square:
          shape = (max(shape), max(shape))
      return csr_matrix(
          (self.data, (self.rows, self.cols)),
          shape=shape,
          dtype=self._dtype if dtype is None else dtype,
      )
  
file_path: scattertext/scattertext/CSRMatrixTools.py
imports: import numpy
  from scipy.sparse import csr_matrix
label_desc: Use image node_id 5 for calling the CSRMatrixFactory obj's underlying member method code with example usage: obj.get_csr_matrix(dtype, make_square) and returns: csr_matrix