code: def synthetic_data_stream_report(
      data, features, report_file, time_width=1000, **kwargs
  ):
      data["index"] = data.index.values
      # generate stability report using automatic binning of all encountered features
      # (importing popmon automatically adds this functionality to a dataframe)
      settings = Settings(features=features, time_axis="index")
      settings.monitoring.pull_rules = {"*_pull": [7, 4, -4, -7]}
      settings.monitoring.monitoring_rules = {
          "*_pull": [7, 4, -4, -7],
          "*_zscore": [7, 4, -4, -7],
          "[!p]*_unknown_labels": [0.5, 0.5, 0, 0],
      }
  
      report = popmon.df_stability_report(
          data,
          time_width=time_width,
          time_offset=0,
          settings=settings,
          **kwargs,
      )
  
      # or save the report to file
      report.to_file(report_file)
  
imports: import pandas
  from scipy.io.arff import loadarff
  import popmon
  from popmon import Settings
label_desc: Use image node_id 3 for calling a global function with example usage: synthetic_data_stream_report(data, features, report_file, time_width) without return types