class_docstr: Test that the labels are correctly set in the summary table
class_docstr_tok: ["Test","that","the","labels","are","correctly","set","in","the","summary","table"]
code: def test_summary_col_r2(
      self,
  ):
      # GH 6578
      table = summary_col(results=self.mod, include_r2=True)
      assert "R-squared  " in str(table)
      assert "R-squared Adj." in str(table)
  
file_path: statsmodels/statsmodels/iolib/tests/test_summary2.py
imports: import warnings
  import numpy
  import pandas
  import pytest
  from numpy.testing import assert_equal
  from statsmodels.iolib.summary2 import summary_col
  from statsmodels.tools.tools import add_constant
  from statsmodels.regression.linear_model import OLS
label_desc: Use image node_id 2 for calling the TestSummaryLabels obj's underlying member method code with example usage: obj.test_summary_col_r2() without return types