code: def print_summary(info_dict, max_colwidth=20):
      """Creates the content for printing the summary.
  
      Parameters
      ----------
      info_dict : `dict`
          The output summary dictionary from
          `~greykite.algo.common.model_summary.ModelSummary._get_summary`,
          which is originally from
          `~greykite.algo.common.model_summary_utils.get_info_dict_lm`
          or
          `~greykite.algo.common.model_summary_utils.get_info_dict_tree`.
      max_colwidth : `int`
          The maximum length for predictors to be shown in their original name.
          If the maximum length of predictors exceeds this parameter, all
          predictors name will be suppressed and only indices are shown.
  
      Returns
      -------
      summary_content : `str`
          The content to be printed.
      """
      content = create_title_section()
      model_param_section = create_model_parameter_section(info_dict)
      if model_param_section is not None:
          content += model_param_section
      residual_section = create_residual_section(info_dict)
      if residual_section is not None:
          content += residual_section
      coef_df_section = create_coef_df_section(info_dict, max_colwidth)
      if coef_df_section is not None:
          content += coef_df_section
      signif_section = create_significance_section(info_dict)
      if signif_section is not None:
          content += signif_section
      warning_section = create_warning_section(info_dict)
      if warning_section is not None:
          content += warning_section
      return content
  
imports: import numpy
  import pandas
  import statsmodels
  import statsmodels.api
  from scipy.stats import f
  from scipy.stats import norm
  from scipy.stats import t
  from sklearn.base import clone
  from sklearn.linear_model import Ridge
  from sklearn.model_selection import train_test_split
  from greykite.algo.common.col_name_utils import INTERCEPT
  from greykite.algo.common.col_name_utils import simplify_pred_cols
label_desc: Use image node_id 30 for calling a global function with example usage: print_summary(info_dict, max_colwidth) and returns: content