def pd_multi_index_getitem_idx_bool_array_impl(self, idx): new_levels = self._levels new_codes = sdc_tuple_map( lambda arr_codes, taken_idxs: numpy_like.getitem_by_mask( arr_codes, taken_idxs), self._codes, idx) return pd.MultiIndex(new_levels, new_codes)
def pd_range_index_getitem_impl(self, idx): return getitem_by_mask(self, idx)
def pd_range_index_getitem_impl(self, idx): return numpy_like.getitem_by_mask(self, idx)