docstr: Utility to perform actual printing of headers given formatted inputs
  
  Parameters
  ----------
  header: String
      Specifies the stage of optimization being entered, and the type of results to follow
  line: String
      The underlining to follow `header`
docstr_tok: ["Utility","to","perform","actual","printing","of","headers","given","formatted","inputs","Parameters","--","--","--","--","--","header",":","String","Specifies","the","stage","of","optimization","being","entered",",","and","the","type","of","results","to","follow","line",":","String","The","underlining","to","follow","`","header","`"]
code: def print_header(self, header, line):
      """Utility to perform actual printing of headers given formatted inputs
  
      Parameters
      ----------
      header: String
          Specifies the stage of optimization being entered, and the type of results to follow
      line: String
          The underlining to follow `header`"""
      print(header)
      print(line)
  
      self._print_column_name("#", 3)
      if self.show_experiment_id:
          self._print_column_name("ID", self.show_experiment_id)
      self._print_column_name("Time", 6)
      # size=6 because `expand_mins_secs` returns 2 units of time, each with 2 digits + 1 letter
      self._print_column_name("Score", 10)
      # size=10 for 5 fractional digits/mantissa, plus decimal itself, leaving 4 spaces for
      #   the integer part/characteristic, potentially prefixed by a negative symbol
  
      for index in self.sorted_indexes:
          self._print_column_name(
              self.parameter_names[index], self.sizes[index] + 2
          )
      print("")
  
imports: from hyperparameter_hunter.i_o import exceptions
  from hyperparameter_hunter.space.dimensions import Categorical
  from hyperparameter_hunter.settings import G
  from hyperparameter_hunter.utils.general_utils import now_time, expand_mins_secs
  from contextlib import suppress
  from datetime import datetime
  import inspect
  import logging
  import os.path
  import sys
  from typing import List
label_desc: Use image node_id 5 for calling the OptimizationReporter obj's underlying member method code with example usage: obj.print_header(header, line) without return types