code: def test_star98(self):
      data = sm.datasets.star98.load_pandas()
      if pdml.compat._PANDAS_ge_023:
          msg = "Wrong number of items passed 2, placement implies 303"
      else:
          msg = "cannot copy sequence with size 2 to array axis with dimension 303"
      with pytest.raises(Exception, match=msg):
          pdml.ModelFrame(data)
  
imports: import pytest
  import pandas
  import statsmodels.api
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 1 for calling the TestStatsModelsDatasets_LoadPandas obj's underlying member method code with example usage: obj.test_star98() without return types