code: def _filter_list(vert_list, drop_list):
      t = cudf.DataFrame()
      t["vertex"] = drop_list["vertex"]
      t["d"] = 0
  
      df = vert_list.merge(t, on="vertex", how="left")
  
      df["d"] = df["d"].fillna(1)
      df = df.query("d == 1")
      df.drop("d", inplace=True)
  
      return df
  
imports: import cudf
  import cugraph
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _filter_list(vert_list, drop_list) and returns: df