code: def arr_union(ar1, ar2):
      if ar1.shape[0] == 0:
          return ar2
      elif ar2.shape[0] == 0:
          return ar1
      else:
          return arr_unique(np.concatenate((ar1, ar2)))
  
imports: from __future__ import print_function
  import locale
  import numba
  import numpy
  from umap.utils import norm
label_desc: Use image node_id 2 for calling a global function with example usage: arr_union(ar1, ar2) and returns: ar2, ar1, arr_unique