def dictionary_filter(dictionary, cols) -> dict:
    """Can be used to filter certain keys from a dict

    :param dictionary: The original dictionary
    :param cols: The searched columns
    :return: A filtered dictionary
    """
    return {key:value for (key,value) in dictionary.items() if key in cols}