code: def test_get_score_df(self):
      corpus = build_hamlet_jz_corpus()
      beta_posterior = BetaPosterior(corpus).set_categories("hamlet")
      score_df = beta_posterior.get_score_df()
  
      scores = beta_posterior.get_scores()
      np.testing.assert_almost_equal(
          scores[:5],
          [
              -0.3194860824225506,
              1.0294085051562822,
              1.0294085051562822,
              1.234664219528909,
              1.0294085051562822,
          ],
      )
  
file_path: scattertext/scattertext/test/test_betaPosterior.py
imports: from unittest import TestCase
  import numpy
  import pandas
  from scattertext.termscoring.BetaPosterior import BetaPosterior
  from scattertext.test.test_termDocMatrixFactory import build_hamlet_jz_corpus
label_desc: Use image node_id 1 for calling the TestBetaPosterior obj's underlying member method code with example usage: obj.test_get_score_df() without return types