code: def test_get_categories(self):
      self.assertEqual(
          self.term_cat_freq.get_categories(),
          ["democrat", "republican"],
      )
  
file_path: scattertext/scattertext/test/test_termCategoryFrequencies.py
imports: from unittest import TestCase
  import numpy
  import pandas
  from scattertext.ScatterChartData import ScatterChartData
  from scattertext.TermCategoryFrequencies import TermCategoryFrequencies
label_desc: Use image node_id 3 for calling the TestTermCategoryFrequencies obj's underlying member method code with example usage: obj.test_get_categories() without return types