code: def get_mean_series(res: List[Dict[str, Any]]) -> Dict[str, Any]:
      mean_value = [
          sum(x) / len(x) for x in zip(*[s["value"] for s in res])
      ]
      mean_smoothed = [
          sum(x) / len(x) for x in zip(*[s["smoothed"] for s in res])
      ]
      step = res[0]["step"]
  
      return {
          "step": step,
          "value": mean_value,
          "smoothed": mean_smoothed,
          "name": "mean",
      }
  
imports: import math
  from typing import List, Dict, Any
label_desc: Use image node_id 4 for calling a global function with example usage: get_mean_series(res) and returns: dict