code: def add_table_ends(para, oformat='latex', caption="caption-text", label="table"):
      
      fpara = ""
      if oformat == 'latex':
          fpara += "\\begin{table}[H]\n"
          fpara += "\\centering\n"
          fpara += "\\begin{tabular}{cc}\n"
          fpara += "\\toprule\n"
          fpara += "Parameter & Value \\\\\n"
          fpara += "\\midrule\n"
          fpara += para
          fpara += "\\bottomrule\n"
          fpara += "\\end{tabular}\n"
          fpara += "\\caption{%s \label{tab:%s}}\n" % (caption, label)
          fpara += "\\end{table}\n\n"
      return fpara
docs: Adds the latex table ends
  
      :param para:
      :param oformat:
      :param caption:
      :param label:
      :return: