docstr: Generate LaTeX Summary Table
  
  Parameters
  ----------
  label : str
      Label of the summary table that can be referenced
      in a latex document (optional)
docstr_tok: ["Generate","LaTeX","Summary","Table","Parameters","--","--","--","--","--","label",":","str","Label","of","the","summary","table","that","can","be","referenced","in","a","latex","document","(","optional",")"]
code: def as_latex(self, label=""):
      """Generate LaTeX Summary Table
  
      Parameters
      ----------
      label : str
          Label of the summary table that can be referenced
          in a latex document (optional)
      """
      tables = self.tables
      settings = self.settings
      title = self.title
  
      if title is not None:
          title = "\\caption{" + title + "}"
      else:
          title = "\\caption{}"
  
      label = "\\label{" + label + "}"
  
      simple_tables = _simple_tables(tables, settings)
      tab = [x.as_latex_tabular() for x in simple_tables]
      tab = "\n\n".join(tab)
  
      to_replace = (
          "\\\\hline\\n\\\\hline\\n\\\\"
          "end{tabular}\\n\\\\begin{tabular}{.*}\\n"
      )
  
      if self._merge_latex:
          # create single tabular object for summary_col
          tab = re.sub(to_replace, r"\\midrule\n", tab)
  
      non_captioned = (
          "\\begin{table}",
          title,
          label,
          tab,
          "\\end{table}",
      )
      non_captioned = "\n".join(non_captioned)
  
      txt = " \\newline \n".join(self.extra_txt)
      out = non_captioned + "\n\\bigskip\n" + txt
  
      return out
  
imports: from statsmodels.compat.pandas import FUTURE_STACK
  from statsmodels.compat.python import lzip
  import datetime
  from functools import reduce
  import re
  import textwrap
  import numpy
  import pandas
  from .table import SimpleTable
  from .tableformatting import fmt_latex, fmt_txt
label_desc: Use image node_id 14 for calling the Summary obj's underlying member method code with example usage: obj.as_latex(label) and returns: out