(index_typ, index_obj, c)
Unboxes Pandas index object basing on the native type inferred previously.
        Params:
            index_typ: native Numba type the object is to be unboxed into
            index_obj: Python object to be unboxed
            c: LLVM context object
        Returns: LLVM instructions to generate native value
Unboxes Pandas index object basing on the native type inferred previously.
        Params:
            index_typ: native Numba type the object is to be unboxed into
            index_obj: Python object to be unboxed
            c: LLVM context object
        Returns: LLVM instructions to generate native value
Unboxes Pandas index object basing on the native type inferred previously . Params : index_typ : native Numba type the object is to be unboxed into index_obj : Python object to be unboxed c : LLVM context object Returns : LLVM instructions to generate native value
def _unbox_index_data(index_typ, index_obj, c):
    """ Unboxes Pandas index object basing on the native type inferred previously.
        Params:
            index_typ: native Numba type the object is to be unboxed into
            index_obj: Python object to be unboxed
            c: LLVM context object
        Returns: LLVM instructions to generate native value
    """

    if isinstance(index_typ, EmptyIndexType):
        return unbox_empty_index(index_typ, index_obj, c)

    if isinstance(index_typ, PositionalIndexType):
        return unbox_positional_index(index_typ, index_obj, c)

    if isinstance(index_typ, RangeIndexType):
        return unbox_range_index(index_typ, index_obj, c)

    if isinstance(index_typ, Int64IndexType):
        return unbox_int64_index(index_typ, index_obj, c)

    if index_typ == string_array_type:
        return unbox_str_series(index_typ, index_obj, c)

    # this is still here only because of Float64Index represented as array
    # TO-DO: remove when it's added
    if isinstance(index_typ, types.Array):
        index_data = c.pyapi.object_getattr_string(index_obj, "_data")
        res = unbox_array(index_typ, index_data, c)
        c.pyapi.decref(index_data)
        return res

    if isinstance(index_typ, types.NoneType):
        assert False, "unboxing to None index!"
        return unbox_none(index_typ, index_obj, c)

    assert False, f"_unbox_index_data: unexpected index type({index_typ}) while unboxing"
def _unbox_index_data ( index_typ , index_obj , c ) : if isinstance ( index_typ , EmptyIndexType ) : return unbox_empty_index ( index_typ , index_obj , c ) if isinstance ( index_typ , PositionalIndexType ) : return unbox_positional_index ( index_typ , index_obj , c ) if isinstance ( index_typ , RangeIndexType ) : return unbox_range_index ( index_typ , index_obj , c ) if isinstance ( index_typ , Int64IndexType ) : return unbox_int64_index ( index_typ , index_obj , c ) if index_typ == string_array_type : return unbox_str_series ( index_typ , index_obj , c ) # this is still here only because of Float64Index represented as array # TO-DO: remove when it's added if isinstance ( index_typ , types . Array ) : index_data = c . pyapi . object_getattr_string ( index_obj , "_data" ) res = unbox_array ( index_typ , index_data , c ) c . pyapi . decref ( index_data ) return res if isinstance ( index_typ , types . NoneType ) : assert False , "unboxing to None index!" return unbox_none ( index_typ , index_obj , c ) assert False , f"_unbox_index_data: unexpected index type({index_typ}) while unboxing"