code: def set_metadata(df, date, device):
      """Set the device and date attribute for the dataframe"""
      df["date"] = date
      df["device"] = device
  
file_path: CrypTen/benchmarks/dash_app/load_data.py
imports: import os
  import pandas
label_desc: Use image node_id 5 for calling a global function with example usage: set_metadata(df, date, device) without return types