code: def _get_test_corpus(self):
      cats, docs = get_docs_categories_four()
      df = pd.DataFrame({"category": cats, "text": docs})
      corpus = CorpusFromPandas(
          df, "category", "text", nlp=whitespace_nlp
      ).build()
      return corpus
  
file_path: scattertext/scattertext/test/test_fourSquareAxes.py
imports: from unittest import TestCase
  import pandas
  from scattertext.CorpusFromPandas import CorpusFromPandas
  from scattertext.WhitespaceNLP import whitespace_nlp
  from scattertext.semioticsquare.FourSquareAxis import FourSquareAxes
label_desc: Use image node_id 2 for calling the TestFourSquareAxes obj's underlying member method code with example usage: obj._get_test_corpus() and returns: corpus