code: def handle_ne(query, operand):
      if operand != "=":
          return "~({})".format(query)
      return query
  
imports: import json
  import numpy
  import pandas
  import dtale.global_state
  from dtale.utils import classify_type, find_dtype, format_data, make_list
  from dtale.query import build_col_key
label_desc: Use image node_id 1 for calling a global function with example usage: handle_ne(query, operand) and returns: query, str