code: def __init__(self, csv_paths, plot=None):
      super().__init__(plot)
      self.full_csv_paths = csv_paths
      self.signals_files = []
      if len(csv_paths) == 1 and os.path.isdir(csv_paths[0]):
          self.signals_files = [
              SignalsFile(str(file), load=False, plot=plot)
              for file in add_directory_csv_files(csv_paths[0])
          ]
      else:
          for csv_path in csv_paths:
              if os.path.isdir(csv_path):
                  self.signals_files.append(
                      SignalsFilesGroup(
                          add_directory_csv_files(csv_path), plot=plot
                      )
                  )
              else:
                  self.signals_files.append(
                      SignalsFile(str(csv_path), load=False, plot=plot)
                  )
      parent_directory_path = os.path.abspath(
          os.path.join(os.path.dirname(csv_paths[0]), "..")
      )
  
      if len(os.listdir(parent_directory_path)) == 1:
          # get the parent directory name (since the current directory is the timestamp directory)
          self.dir = parent_directory_path
      else:
          # get the common directory for all the experiments
          self.dir = os.path.dirname(
              "/".join(os.path.commonprefix(csv_paths).split("/")[:-1])
              + "/"
          )
  
      self.filename = "{} - Group({})".format(
          basename(self.dir), len(self.signals_files)
      )
  
      self.signal_files_need_update = False
  
      self.load()
  
file_path: coach/rl_coach/dashboard_components/signals_files_group.py
imports: import os
  from multiprocessing import Process, Manager
  from os.path import basename
  import pandas
  from rl_coach.dashboard_components.globals import x_axis_options, add_directory_csv_files, show_spinner, x_axis
  from rl_coach.dashboard_components.signals_file_base import SignalsFileBase
  from rl_coach.dashboard_components.signals_file import SignalsFile
label_desc: Use image node_id 1 to create a new SignalsFilesGroup object from inherited base classes: SignalsFileBase with example: obj = SignalsFilesGroup(csv_paths, plot)