(joined, indexer1, indexer2)
return pd_fix_indexes_join_impl
Wraps pandas index.join() into new function that returns indexers as arrays and not optional(array)
Wraps pandas index.join() into new function that returns indexers as arrays and not optional(array)
Wraps pandas index . join () into new function that returns indexers as arrays and not optional ( array )
def pd_fix_indexes_join_overload(joined, indexer1, indexer2):
    """ Wraps pandas index.join() into new function that returns indexers as arrays and not optional(array) """

    # This function is simply a workaround for problem with parfor lowering
    # broken by indexers typed as types.Optional(Array) - FIXME_Numba#6686: remove it
    # in all places when parfor issue is fixed
    def pd_fix_indexes_join_impl(joined, indexer1, indexer2):
        if indexer1 is not None:
            _indexer1 = _nonoptional(indexer1)
        else:
            _indexer1 = np.arange(len(joined))

        if indexer2 is not None:
            _indexer2 = _nonoptional(indexer2)
        else:
            _indexer2 = _indexer1

        return joined, _indexer1, _indexer2

    return pd_fix_indexes_join_impl
def pd_fix_indexes_join_overload ( joined , indexer1 , indexer2 ) : # This function is simply a workaround for problem with parfor lowering # broken by indexers typed as types.Optional(Array) - FIXME_Numba#6686: remove it # in all places when parfor issue is fixed def pd_fix_indexes_join_impl ( joined , indexer1 , indexer2 ) : if indexer1 is not None : _indexer1 = _nonoptional ( indexer1 ) else : _indexer1 = np . arange ( len ( joined ) ) if indexer2 is not None : _indexer2 = _nonoptional ( indexer2 ) else : _indexer2 = _indexer1 return joined , _indexer1 , _indexer2 return pd_fix_indexes_join_impl