code: def setup_class(cls):
      super().setup_class()
  
      cls.endog = pd.Series(cls.endog)
      # we are working with bytes on python 3, not with strings in this case
      cls.groups = pd.Series(cls.groups, dtype=object)
  
imports: from statsmodels.compat.python import asbytes
  from io import BytesIO
  import warnings
  import numpy
  import pandas
  import pytest
  from numpy.testing import assert_, assert_allclose, assert_almost_equal, assert_equal, assert_raises
  from statsmodels.stats.libqsturng import qsturng
  from statsmodels.stats.multicomp import tukeyhsd, pairwise_tukeyhsd, MultiComparison
label_desc: Use image node_id 1 for calling the TestTuckeyHSD2Pandas obj's underlying member method code with example usage: obj.setup_class(cls) without return types