code: def swap_direction(d):
      src, tgt = d.split("-")
      return f"{tgt}-{src}"
  
file_path: fairseq/examples/multilingual/data_scripts/remove_valid_test_in_train.py
imports: import os, sys
  import glob, itertools
  import pandas
label_desc: Use image node_id 3 for calling a global function with example usage: swap_direction(d) and returns: tgt, str, src