code: def index_constructor_2arg_parent(context, builder, sig, args):
      # Basically same as index_constructor_1arg, but also lets you specify the
      # parent object
      (data, hashmap) = args
      index = cgutils.create_struct_proxy(sig.return_type)(
          context, builder
      )
  
      index.data = data
      index.hashmap = hashmap
      return impl_ret_borrowed(
          context, builder, sig.return_type, index._getvalue()
      )
  
imports: from __future__ import annotations
  from contextlib import contextmanager
  import operator
  import numba
  from numba import types
  from numba.core import cgutils
  from numba.core.datamodel import models
  from numba.core.extending import NativeValue, box, lower_builtin, make_attribute_wrapper, overload, overload_attribute, overload_method, register_model, type_callable, typeof_impl, unbox
  from numba.core.imputils import impl_ret_borrowed
  import numpy
  from pandas._libs import lib
  from pandas.core.indexes.base import Index
  from pandas.core.indexing import _iLocIndexer
  from pandas.core.internals import SingleBlockManager
  from pandas.core.series import Series
label_desc: Use image node_id 9 for calling a global function with example usage: index_constructor_2arg_parent(context, builder, sig, args) and returns: impl_ret_borrowed