code: def ignore_zeros(predictions, grounds):
      """
      Desc:
          Ignore the zero values for evaluation
      Args:
          predictions:
          grounds:
      Returns:
          Predictions and ground truths
      """
      preds = predictions[np.where(grounds != 0)]
      gts = grounds[np.where(grounds != 0)]
      return preds, gts
  
file_path: PGL/examples/kddcup2022/wpf_baseline/metrics.py
imports: import pandas
  import time
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: ignore_zeros(predictions, grounds) and returns: preds,  gts