(self, indexes)
return pd_fix_indexes_take_impl
Simply workaround for not having take method as unique indexes due to
        the fact that StringArrayType is one of the index types
Simply workaround for not having take method as unique indexes due to
        the fact that StringArrayType is one of the index types
Simply workaround for not having take method as unique indexes due to the fact that StringArrayType is one of the index types
def pd_fix_indexes_take_overload(self, indexes):
    """ Simply workaround for not having take method as unique indexes due to
        the fact that StringArrayType is one of the index types """

    check = isinstance(self, sdc_pandas_index_types)
    if not isinstance(self, sdc_pandas_index_types):
        return None

    index_api_supported = not isinstance(self, sdc_old_index_types)

    def pd_fix_indexes_take_impl(self, indexes):

        if index_api_supported == True:  # noqa
            res = self.take(indexes)
        else:
            res = numpy_like.take(self, indexes)

        return res

    return pd_fix_indexes_take_impl
def pd_fix_indexes_take_overload ( self , indexes ) : check = isinstance ( self , sdc_pandas_index_types ) if not isinstance ( self , sdc_pandas_index_types ) : return None index_api_supported = not isinstance ( self , sdc_old_index_types ) def pd_fix_indexes_take_impl ( self , indexes ) : if index_api_supported == True : # noqa res = self . take ( indexes ) else : res = numpy_like . take ( self , indexes ) return res return pd_fix_indexes_take_impl