code: def _complex(tp):
      """Simple temporary type constructor for complex"""
      if tp == ct.DataShape(ct.float32):
          return ct.complex_float32
      elif tp == ct.DataShape(ct.float64):
          return ct.complex_float64
      else:
          raise TypeError(
              "Cannot construct a complex type with real component %s"
              % tp
          )
  
file_path: datashader/datashader/datashape/type_symbol_table.py
imports: from __future__ import absolute_import, division, print_function
  import ctypes
  from itertools import chain
  from .None import coretypes
label_desc: Use image node_id 1 for calling a global function with example usage: _complex(tp) and returns: ct, ct