code: def _time_distance(callable: Callable, average: int = 30, **kwargs):
      for _ in range(3):
          callable(**kwargs)
  
      total = 0
      for _ in range(average):
          start = time.time()
          callable(**kwargs)
          total += time.time() - start
  
      return total / average
  
imports: import time
  from typing import Callable
  from sktime.datatypes import convert_to
  from sktime.utils._testing.panel import _make_panel_X
  from sktime.utils._testing.series import _make_series
label_desc: Use image node_id 3 for calling a global function with example usage: _time_distance(callable, average) and returns: unknown