code: def test_summarycol_float_format(self):
      # Test for latex output of summary_col object
      desired = r"""
  ==========================
                  y I   y II
  --------------------------
  const          7.7   12.4 
                 (1.1) (3.2)
  x1             -0.7  -1.6 
                 (0.2) (0.7)
  R-squared      0.8   0.6  
  R-squared Adj. 0.7   0.5  
  ==========================
  Standard errors in
  parentheses.
  """  # noqa:W291
      x = [1, 5, 7, 3, 5]
      x = add_constant(x)
      y1 = [6, 4, 2, 7, 4]
      y2 = [8, 5, 0, 12, 4]
      reg1 = OLS(y1, x).fit()
      reg2 = OLS(y2, x).fit()
      actual = summary_col([reg1, reg2], float_format="%0.1f").as_text()
      actual = "%s\n" % actual
  
      starred = summary_col(
          [reg1, reg2], stars=True, float_format="%0.1f"
      )
      assert "7.7***" in str(starred)
      assert "12.4**" in str(starred)
      assert "12.4***" not in str(starred)
  
      assert_equal(actual, desired)
  
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 TestSummaryLatex obj's underlying member method code with example usage: obj.test_summarycol_float_format() without return types