code: def generate_event_dataset(
      events=[
          "2022-01-01",
          "2022-01-10",
          "2022-01-13",
          "2022-01-14",
          "2022-01-15",
          "2022-01-31",
      ],
      periods=31,
      y_default=1,
      y_event=100,
      y_events_override={},
  ):
      """Generate dataset with regular y value and special y value for events."""
      events.sort()
  
      dates = pd.date_range(events[0], periods=periods, freq="D")
      df = pd.DataFrame({"ds": dates, "y": y_default}, index=dates)
  
      for event in events:
          df.loc[event, "y"] = y_events_override.get(event, y_event)
  
      return df, events
  
imports: import numpy
  import pandas
  from neuralprophet.time_dataset import make_country_specific_holidays_df
label_desc: Use image node_id 2 for calling a global function with example usage: generate_event_dataset(events, periods, y_default, y_event, y_events_override) and returns: df,  events