code: def expand_events(  # type:ignore
      lists: pd.DataFrame,
      left_expand: Union[pd.Timedelta, str, int] = 0,
      right_expand: Union[pd.Timedelta, str, int] = 0,
      freq_as_period: bool = True,
  ) -> pd.DataFrame:
      ...
  
file_path: adtk/src/adtk/data/_data.py
imports: from typing import Dict, List, Optional, Tuple, Union, overload
  import numpy
  import pandas
label_desc: Use image node_id 12 for calling a global function with example usage: expand_events(lists, left_expand, right_expand, freq_as_period) without return types