docstr: Parameters
  ----------
  df : pd.DataFrame
   contains category_col, and parse_col, were parsed col is entirely spacy docs
  category_col : str
      name of category column in convention_df
  parsed_col : str
      name of spacy parsed column in convention_df
  feats_from_spacy_doc : FeatsFromSpacyDoc
docstr_tok: ["Parameters","--","--","--","--","--","df",":","pd.DataFrame","contains","category_col",",","and","parse_col",",","were","parsed","col","is","entirely","spacy","docs","category_col",":","str","name","of","category","column","in","convention_df","parsed_col",":","str","name","of","spacy","parsed","column","in","convention_df","feats_from_spacy_doc",":","FeatsFromSpacyDoc"]
code: def __init__(
      self,
      df,
      category_col,
      parsed_col,
      feats_from_spacy_doc=FeatsFromSpacyDoc(),
  ):
      """
      Parameters
      ----------
      df : pd.DataFrame
       contains category_col, and parse_col, were parsed col is entirely spacy docs
      category_col : str
          name of category column in convention_df
      parsed_col : str
          name of spacy parsed column in convention_df
      feats_from_spacy_doc : FeatsFromSpacyDoc
      """
      self._df = df.reset_index()
      self._category_col = category_col
      self._parsed_col = parsed_col
      self._category_idx_store = IndexStore()
      self._X_factory = CSRMatrixFactory()
      self._mX_factory = CSRMatrixFactory()
      self._term_idx_store = IndexStore()
      self._metadata_idx_store = IndexStore()
      self._feats_from_spacy_doc = feats_from_spacy_doc
  
file_path: scattertext/scattertext/CorpusFromParsedDocuments.py
imports: import numpy
  from scattertext.CSRMatrixTools import CSRMatrixFactory
  from scattertext.ParsedCorpus import ParsedCorpus
  from scattertext.features.FeatsFromSpacyDoc import FeatsFromSpacyDoc
  from scattertext.indexstore.IndexStore import IndexStore
label_desc: Use image node_id 1 to create a new CorpusFromParsedDocuments object from inherited base classes: object with example: obj = CorpusFromParsedDocuments(df, category_col, parsed_col, feats_from_spacy_doc)