docstr: Parameters
  ----------
  ngram, str or unicode, string to search for
  
  Returns
  -------
  pd.DataFrame, {self._parsed_col: <matching texts>, self._category_col: <corresponding categories>, ...}
docstr_tok: ["Parameters","--","--","--","--","--","ngram",",","str","or","unicode",",","string","to","search","for","Returns","--","--","--","-","pd.DataFrame",",","{","self._parsed_col",":","<","matching","texts",">",",","self._category_col",":","<","corresponding","categories",">",",","...","}"]
code: def search(self, ngram, non_text: bool = False):
      """
      Parameters
      ----------
      ngram, str or unicode, string to search for
  
      Returns
      -------
      pd.DataFrame, {self._parsed_col: <matching texts>, self._category_col: <corresponding categories>, ...}
  
      """
      mask = self._document_index_mask(ngram, non_text)
      return self._df[mask]
  
file_path: scattertext/scattertext/DataFrameCorpus.py
imports: from scattertext.indexstore import IndexStore
  from scattertext.Corpus import Corpus
label_desc: Use image node_id 6 for calling the DataFrameCorpus obj's underlying member method code with example usage: obj.search(ngram, non_text) and returns: self