def get_redundant_pairs(corrmat):
    """Get diagonal and lower triangular pairs of correlation matrix"""
    pairs_to_drop = set()
    columns = corrmat.columns
    for i in range(corrmat.shape[1]):
        for j in range(i+1):
            pairs_to_drop.add((columns[i], columns[j]))
    return pairs_to_drop