code: def time_import(self):
      # on py37+ we the "-X importtime" usage gives us a more precise
      #  measurement of the import time we actually care about,
      #  without the subprocess or interpreter overhead
      cmd = [
          sys.executable,
          "-X",
          "importtime",
          "-c",
          "import pandas as pd",
      ]
      p = subprocess.run(cmd, stderr=subprocess.PIPE, check=True)
  
      line = p.stderr.splitlines()[-1]
      field = line.split(b"|")[-2].strip()
      total = int(field)  # microseconds
      return total
  
label_desc: Use image node_id 1 for calling the TimeImport obj's underlying member method code with example usage: obj.time_import() and returns: total