docstr: Insert a title on top of the summary table. If a string is provided
  in the title argument, that string is printed. If no title string is
  provided but a results instance is provided, statsmodels attempts
  to construct a useful title automatically.
docstr_tok: ["Insert","a","title","on","top","of","the","summary","table",".","If","a","string","is","provided","in","the","title","argument",",","that","string","is","printed",".","If","no","title","string","is","provided","but","a","results","instance","is","provided",",","statsmodels","attempts","to","construct","a","useful","title","automatically","."]
code: def add_title(self, title=None, results=None):
      """Insert a title on top of the summary table. If a string is provided
      in the title argument, that string is printed. If no title string is
      provided but a results instance is provided, statsmodels attempts
      to construct a useful title automatically.
      """
      if isinstance(title, str):
          self.title = title
      else:
          if results is not None:
              model = results.model.__class__.__name__
              if model in _model_types:
                  model = _model_types[model]
              self.title = "Results: " + model
          else:
              self.title = ""
  
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 10 for calling the Summary obj's underlying member method code with example usage: obj.add_title(title, results) without return types