docstr: Parameters
  ----------
  X : csr_matrix
      term document matrix
  mX : csr_matrix
      metadata-document matrix
  y : np.array
      category index array
  term_idx_store : IndexStore
      Term indices
  category_idx_store : IndexStore
      Catgory indices
  metadata_idx_store : IndexStore
    Document metadata indices
  raw_texts : np.array or pd.Series
      Raw texts
  unigram_frequency_path : str or None
      Path to term frequency file.
docstr_tok: ["Parameters","--","--","--","--","--","X",":","csr_matrix","term","document","matrix","mX",":","csr_matrix","metadata-document","matrix","y",":","np.array","category","index","array","term_idx_store",":","IndexStore","Term","indices","category_idx_store",":","IndexStore","Catgory","indices","metadata_idx_store",":","IndexStore","Document","metadata","indices","raw_texts",":","np.array","or","pd.Series","Raw","texts","unigram_frequency_path",":","str","or","None","Path","to","term","frequency","file","."]
code: def __init__(
      self,
      X,
      mX,
      y,
      term_idx_store,
      category_idx_store,
      metadata_idx_store,
      raw_texts,
      df,
      unigram_frequency_path=None,
  ):
      """
      Parameters
      ----------
      X : csr_matrix
          term document matrix
      mX : csr_matrix
          metadata-document matrix
      y : np.array
          category index array
      term_idx_store : IndexStore
          Term indices
      category_idx_store : IndexStore
          Catgory indices
      metadata_idx_store : IndexStore
        Document metadata indices
      raw_texts : np.array or pd.Series
          Raw texts
      unigram_frequency_path : str or None
          Path to term frequency file.
      """
      self._df = df
      Corpus.__init__(
          self,
          X,
          mX,
          y,
          term_idx_store,
          category_idx_store,
          metadata_idx_store,
          raw_texts,
          unigram_frequency_path,
      )
  
file_path: scattertext/scattertext/DataFrameCorpus.py
imports: from scattertext.indexstore import IndexStore
  from scattertext.Corpus import Corpus
label_desc: Use image node_id 1 to create a new DataFrameCorpus object from inherited base classes: Corpus with example: obj = DataFrameCorpus(X, mX, y, term_idx_store, category_idx_store, metadata_idx_store, raw_texts, df, unigram_frequency_path)