def _continuous_data_idx(x: pd.Series, data_threshold_index: pd.IntervalIndex) -> pd.Series: """ returns bool Series after checking threshold index for each value from input :param x: :param data_threshold_index: group of threshold intervals :return: boolean Series of data against threshold interval index """ return x.map(lambda y: any(data_threshold_index.contains(y)))