code: def load_data_for_event(
      event_log_dirs: Dict[str, Path], event_name: str
  ):
      """Load event logs for given events for each experiment and concatenate them into one data frame.
  
      :param event_log_dirs:  Location of event logs for each experiment. Format of {experiment_name: logs_path}
      :param event_name: Name of event log that we are loading.
      :return: Data frame containing all event logs, with and experiment column specifying the experiment the belong to
      """
      df = None
      for exp_name, exp_event_log_path in event_log_dirs.items():
          exp_df = pd.read_csv(
              Path(exp_event_log_path) / (event_name + ".tsv"), sep="\t"
          )
          exp_df["experiment"] = exp_name
          df = pd.concat([df, exp_df])
      return df
  
file_path: maze/evaluation/rollout_evaluation_plots.py
imports: import argparse
  from pathlib import Path
  from typing import Dict, Tuple, List, Any
  import matplotlib.pyplot
  import pandas
  import seaborn
  import yaml
  from maze.core.rendering.events_stats_renderer import EventStatsRenderer
label_desc: Use image node_id 2 for calling a global function with example usage: load_data_for_event(event_log_dirs, event_name) and returns: df