@staticmethod<EOL><INDENT>def __reversed_filter(filterable, filter_, logic_operation='<STR_LIT>'):<DEDENT>
condition = []<EOL>try:<EOL><INDENT>subscribers_for_any = filterable.query('<STR_LIT>')<EOL><DEDENT>except pd.core.computation.ops.UndefinedVariableError:<EOL><INDENT>subscribers_for_any = pd.DataFrame()<EOL><DEDENT>if not filter_:<EOL><INDENT>return filterable<EOL><DEDENT>else:<EOL><INDENT>for existing_col in filterable:<EOL><INDENT>for meta_tag, meta_value in filter_.items():<EOL><INDENT>if meta_tag == existing_col:<EOL><INDENT>condition.append('<STR_LIT>'.format(key=meta_tag, value=meta_value))<EOL><DEDENT><DEDENT><DEDENT>try:<EOL><INDENT>res = filterable.query("<STR_LIT>".format(operation=logic_operation).join(condition))<EOL><DEDENT>except pd.core.computation.ops.UndefinedVariableError:<EOL><INDENT>return pd.DataFrame().append(subscribers_for_any)<EOL><DEDENT>else:<EOL><INDENT>return res.append(subscribers_for_any)<EOL><DEDENT><DEDENT>
reverse filtering DataFrame using filter_ key-value conditions applying logic_operation
        find rows where existing filterable columns (and its values) fitting the filter_ criterion