code: def make_basic_table(self, file_type):
          
  
          table_data = {sample: items['kv']
                  for sample, items
                  in self.mod_data[file_type].items()
          }
          table_headers = {}
          for column_header, (description, header_options) in file_types[file_type]['kv_descriptions'].items():
              table_headers[column_header] = {
                      'rid': '{}_{}_bbmstheader'.format(file_type, column_header),
                      'title': column_header,
                      'description': description,
              }
              table_headers[column_header].update(header_options)
  
          tconfig = {
              'id': file_type + '_bbm_table',
              'namespace': 'BBTools'
          }
          for sample in table_data:
              for key, value in table_data[sample].items():
                  try:
                      table_data[sample][key] = float(value)
                  except ValueError:
                      pass
          return table.plot(table_data, table_headers, tconfig)
docs: Create table of key-value items in 'file_type'.