code: def test_aggregate_raters():
      data = diagnoses
      data_, categories = aggregate_raters(data)
      colsum = np.array([26, 26, 30, 55, 43])
      assert_equal(data_.sum(0), colsum)
      assert_equal(np.unique(diagnoses), categories)
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_equal, assert_allclose
  from statsmodels.stats.inter_rater import fleiss_kappa, cohens_kappa, to_table, aggregate_raters
  from statsmodels.tools.testing import Holder
label_desc: Use image node_id 7 for calling a global function with example usage: test_aggregate_raters() without return types