code: def time_dist_selector(dt, sources, targets):
      dta = np.abs(dt)
      sources = sources[dta <= 1]
      targets = targets[dta <= 1]
      return sources, targets
  
file_path: deepgraph/doc/source/tutorials/10min_to_deepgraph.py
imports: import matplotlib.pyplot
  import numpy
  import pandas
  import deepgraph
label_desc: Use image node_id 6 for calling a global function with example usage: time_dist_selector(dt, sources, targets) and returns: sources,  targets